aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-01-26 22:01:36 +0000
committerDoug Evans <dje@google.com>2012-01-26 22:01:36 +0000
commit78d8b4d76db296a378e3780806d2c4fafc2572ee (patch)
tree6439c2b2f2d3ad4b58add6fa445d38790a24150a /gdb
parent4c63965b8a74d9dd3d8ed6fed659c4db977c6ddd (diff)
downloadgdb-78d8b4d76db296a378e3780806d2c4fafc2572ee.zip
gdb-78d8b4d76db296a378e3780806d2c4fafc2572ee.tar.gz
gdb-78d8b4d76db296a378e3780806d2c4fafc2572ee.tar.bz2
* dwarf2read.c (add_partial_symbol): Delete local psym, unused.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1c17777..49f2083 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-26 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
+
2012-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Do not open script filenames twice.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 76f8510..2afea67 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3954,7 +3954,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
struct objfile *objfile = cu->objfile;
CORE_ADDR addr = 0;
char *actual_name = NULL;
- const struct partial_symbol *psym = NULL;
CORE_ADDR baseaddr;
int built_actual_name = 0;