xcoffread.c (process_linenos): Delete unnecessary code.
authorDoug Evans <xdje42@gmail.com>
Mon, 3 Nov 2014 04:17:12 +0000 (20:17 -0800)
committerDoug Evans <xdje42@gmail.com>
Mon, 3 Nov 2014 04:17:12 +0000 (20:17 -0800)
gdb/ChangeLog:

* xcoffread.c (process_linenos): Delete unnecessary zeroing of
main_subfile before returning.

gdb/ChangeLog
gdb/xcoffread.c

index a629660a547dcdf770f898533cb9da8d29452403..25895c156c85145bd11edb63bf3e6c23282e8f3c 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-02  Doug Evans  <xdje42@gmail.com>
+
+       * xcoffread.c (process_linenos): Delete unnecessary zeroing of
+       main_subfile before returning.
+
 2014-10-31  Doug Evans  <xdje42@gmail.com>
 
        * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
index 90cc32fd7dc537b00e6a78458ee7f2661766454b..7594feba9042313ddc293af2a4ac94bb4b0617ec 100644 (file)
@@ -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