From: Pedro Alves Date: Thu, 11 Jun 2009 14:24:24 +0000 (+0000) Subject: * symtab.c (append_expanded_sal): Remove unused local variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=828cd292ea8c751b9e977f74be2ab3773939a977;p=binutils-gdb.git * symtab.c (append_expanded_sal): Remove unused local variables. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b296122a04c..030d14e186b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-06-11 Pedro Alves + + * symtab.c (append_expanded_sal): Remove unused local variables. + 2009-06-11 Pedro Alves * infrun.c (sched_multi): New global. diff --git a/gdb/symtab.c b/gdb/symtab.c index 5d375abaa94..3a82d33c354 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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));