aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-02 20:17:12 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-02 20:17:12 -0800
commitd7ee84f11785f239c40378484f48dc0a17cbd14f (patch)
tree539e7364f1a2333781b7bf7a2cbf3a9bc7082557 /gdb/xcoffread.c
parentb71e4c7f6310a6d6ba063c49297560b9be8b8796 (diff)
downloadgdb-d7ee84f11785f239c40378484f48dc0a17cbd14f.zip
gdb-d7ee84f11785f239c40378484f48dc0a17cbd14f.tar.gz
gdb-d7ee84f11785f239c40378484f48dc0a17cbd14f.tar.bz2
xcoffread.c (process_linenos): Delete unnecessary code.
gdb/ChangeLog: * xcoffread.c (process_linenos): Delete unnecessary zeroing of main_subfile before returning.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c3
1 files changed, 0 insertions, 3 deletions
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