From: Doug Evans Date: Mon, 3 Nov 2014 04:17:12 +0000 (-0800) Subject: xcoffread.c (process_linenos): Delete unnecessary code. X-Git-Tag: gdb-7.9.0-release~767 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7ee84f11785f239c40378484f48dc0a17cbd14f;p=platform%2Fupstream%2Fbinutils.git xcoffread.c (process_linenos): Delete unnecessary code. gdb/ChangeLog: * xcoffread.c (process_linenos): Delete unnecessary zeroing of main_subfile before returning. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a629660..25895c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-11-02 Doug Evans + + * xcoffread.c (process_linenos): Delete unnecessary zeroing of + main_subfile before returning. + 2014-10-31 Doug Evans * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 90cc32f..7594feb 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -809,9 +809,6 @@ return_after_cleanup: /* We don't want to keep alloc/free'ing the global include file table. */ inclIndx = 0; - - /* Start with a fresh subfile structure for the next file. */ - memset (&main_subfile, '\0', sizeof (struct subfile)); } static void