aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dbxread.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e914533..29e5527 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
+ * dbxread.c (process_one_symbol): Discard unused value.
+
* coffread.c (coff_end_symtab): Delete unused variable.
* dwarf2read.c (dw2_get_file_names): Discard unused value.
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 35b4436..d471b1c 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -2853,7 +2853,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
N_SO, the linker did not relocate them (sigh). */
valu += last_source_start_addr;
- new = push_context (desc, valu);
+ push_context (desc, valu);
break;
case N_RBRAC: