2011-02-28 Michael Snyder <msnyder@vmware.com>

* coffread.c (coff_end_symtab): Delete unused variable.
This commit is contained in:
Michael Snyder 2011-02-28 23:17:07 +00:00
parent e8e80198e9
commit 6b4511abfd
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,7 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
* coffread.c (coff_end_symtab): Delete unused variable.
* dwarf2read.c (dw2_get_file_names): Discard unused value.
(dwarf2_add_typedef): Delete unused variable.
(read_namespace): Ditto.

View file

@ -405,12 +405,10 @@ complete_symtab (char *name, CORE_ADDR start_addr, unsigned int size)
static void
coff_end_symtab (struct objfile *objfile)
{
struct symtab *symtab;
last_source_start_addr = current_source_start_addr;
symtab = end_symtab (current_source_end_addr, objfile,
SECT_OFF_TEXT (objfile));
end_symtab (current_source_end_addr, objfile,
SECT_OFF_TEXT (objfile));
/* Reinitialize for beginning of new file. */
last_source_file = NULL;