addr2line: initialize die to NULL

GCC on MIPS produced a 'may be used uninitialized' warning after
r289071.

Reported by:	sbruno
Pointy hat to:	emaste
This commit is contained in:
Ed Maste 2015-10-09 18:26:24 +00:00
parent 76ebbd8fae
commit 7a2e729ba2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289074

View File

@ -228,6 +228,7 @@ translate(Dwarf_Debug dbg, const char* addrstr)
addr += section_base;
lineno = 0;
file = unknown;
die = NULL;
lbuf = NULL;
lcount = 0;