* xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 2 Aug 2017 12:44:54 +0000 (12:44 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 2 Aug 2017 12:44:54 +0000 (08:44 -0400)
From-SVN: r250824

libbacktrace/ChangeLog
libbacktrace/xcoff.c

index 313a4c61855e9b354178ef389c49d0c3335a81fc..ce7b350bffcd0628750aa0de0d9651aa9c80ebdd 100644 (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.
index 2faa9fdfa05b13ec1728eb9f8e04bb182fcd1289..b3d7e24256b51df00da05750e29824be6332c363 100644 (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;