aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dbxread.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3d2cd32..4dd6ec8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
+ * dbxread.c (read_dbx_symtab): Discard unused value.
+
* eval.c (evaluate_subexp_standard): Delete unused variable,
and discard unused values.
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index d471b1c..b68aa80 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1728,8 +1728,7 @@ read_dbx_symtab (struct objfile *objfile)
data_sect_index);
if (gdbarch_static_transform_name_p (gdbarch))
- namestring = gdbarch_static_transform_name (gdbarch,
- namestring);
+ gdbarch_static_transform_name (gdbarch, namestring);
add_psymbol_to_list (sym_name, sym_len, 1,
VAR_DOMAIN, LOC_STATIC,