OSDN Git Service

* symtab.c (append_expanded_sal): Remove unused local variables.
authorPedro Alves <pedro@codesourcery.com>
Thu, 11 Jun 2009 14:24:24 +0000 (14:24 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 11 Jun 2009 14:24:24 +0000 (14:24 +0000)
gdb/ChangeLog
gdb/symtab.c

index b296122..030d14e 100644 (file)
@@ -1,5 +1,9 @@
 2009-06-11  Pedro Alves  <pedro@codesourcery.com>
 
+       * symtab.c (append_expanded_sal): Remove unused local variables.
+
+2009-06-11  Pedro Alves  <pedro@codesourcery.com>
+
        * infrun.c (sched_multi): New global.
        (resume): If sched_multi is set, resume only threads of the
        current inferior.
index 5d375ab..3a82d33 100644 (file)
@@ -4502,8 +4502,6 @@ append_expanded_sal (struct symtabs_and_lines *sal,
                     struct symtab *symtab,
                     int lineno, CORE_ADDR pc)
 {
-  CORE_ADDR func_addr, func_end;
-
   sal->sals = xrealloc (sal->sals,
                        sizeof (sal->sals[0])
                        * (sal->nelts + 1));