From: Doug Evans Date: Thu, 26 Jan 2012 22:01:36 +0000 (+0000) Subject: * dwarf2read.c (add_partial_symbol): Delete local psym, unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78d8b4d76db296a378e3780806d2c4fafc2572ee;p=binutils-gdb.git * dwarf2read.c (add_partial_symbol): Delete local psym, unused. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c177771b9e..49f2083a328 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-01-26 Doug Evans + + * dwarf2read.c (add_partial_symbol): Delete local psym, unused. + 2012-01-26 Jan Kratochvil Do not open script filenames twice. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 76f8510e57b..2afea670b2d 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;