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:
parent
76ebbd8fae
commit
7a2e729ba2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289074
@ -228,6 +228,7 @@ translate(Dwarf_Debug dbg, const char* addrstr)
|
||||
addr += section_base;
|
||||
lineno = 0;
|
||||
file = unknown;
|
||||
die = NULL;
|
||||
lbuf = NULL;
|
||||
lcount = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user