* dwarf2read.c (add_partial_symbol): Delete local psym, unused.
authorDoug Evans <dje@google.com>
Thu, 26 Jan 2012 22:01:36 +0000 (22:01 +0000)
committerDoug Evans <dje@google.com>
Thu, 26 Jan 2012 22:01:36 +0000 (22:01 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 1c177771b9e7997914e9dacea97adf68ba37c0c3..49f2083a3285b6a2fb73e98896d62d8b28e4d8bb 100644 (file)
@@ -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.
index 76f8510e57be59bd515a806160ff31d4cfbb209e..2afea670b2d4c8e32b4abc5425aeafde6a65ab24 100644 (file)
@@ -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;