Commit 2e6af1b8 by David Edelsohn Committed by David Edelsohn

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

From-SVN: r250824
parent 72270bb5
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> 2017-07-28 Tony Reix <tony.reix@atos.net>
* xcoff.c: Don't leak a file descriptor if an archive is malformed. * xcoff.c: Don't leak a file descriptor if an archive is malformed.
......
...@@ -774,7 +774,7 @@ xcoff_process_linenos (struct backtrace_state *state, uintptr_t base_address, ...@@ -774,7 +774,7 @@ xcoff_process_linenos (struct backtrace_state *state, uintptr_t base_address,
const b_xcoff_lineno *lineno; const b_xcoff_lineno *lineno;
const unsigned char *lineptr; const unsigned char *lineptr;
const char *function; const char *function;
struct xcoff_incl *incl; struct xcoff_incl *incl = NULL;
uintptr_t lnnoptr; uintptr_t lnnoptr;
uintptr_t pc; uintptr_t pc;
uint32_t lnno; uint32_t lnno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment