diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-28 23:17:07 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-28 23:17:07 +0000 |
commit | 6b4511abfdda5d77d914795085fc0ccb48e9b37e (patch) | |
tree | 5a3a9f7fecf2959bce4e9351cf5273407a39ee56 /gdb/coffread.c | |
parent | e8e80198e9bc4e9156c5745f9b77ac9e0f8e7322 (diff) | |
download | gdb-6b4511abfdda5d77d914795085fc0ccb48e9b37e.zip gdb-6b4511abfdda5d77d914795085fc0ccb48e9b37e.tar.gz gdb-6b4511abfdda5d77d914795085fc0ccb48e9b37e.tar.bz2 |
2011-02-28 Michael Snyder <msnyder@vmware.com>
* coffread.c (coff_end_symtab): Delete unused variable.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index b300aa9..1566611 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -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; |