* xcoff.c (xcoff_process_linenos): Initialize incl to NULL.

From-SVN: r250824
This commit is contained in:
David Edelsohn 2017-08-02 12:44:54 +00:00 committed by David Edelsohn
parent 72270bb55c
commit 2e6af1b892
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-08-02 David Edelsohn <dje.gcc@gmail.com>
* xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
2017-07-28 Tony Reix <tony.reix@atos.net>
* xcoff.c: Don't leak a file descriptor if an archive is malformed.

View File

@ -774,7 +774,7 @@ xcoff_process_linenos (struct backtrace_state *state, uintptr_t base_address,
const b_xcoff_lineno *lineno;
const unsigned char *lineptr;
const char *function;
struct xcoff_incl *incl;
struct xcoff_incl *incl = NULL;
uintptr_t lnnoptr;
uintptr_t pc;
uint32_t lnno;