xcoffread.c (process_linenos): Delete unnecessary code.

gdb/ChangeLog:

	* xcoffread.c (process_linenos): Delete unnecessary zeroing of
	main_subfile before returning.
This commit is contained in:
Doug Evans 2014-11-02 20:17:12 -08:00
parent b71e4c7f63
commit d7ee84f117
2 changed files with 5 additions and 3 deletions

View 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.

View 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