From 828cd292ea8c751b9e977f74be2ab3773939a977 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 11 Jun 2009 14:24:24 +0000 Subject: [PATCH] * symtab.c (append_expanded_sal): Remove unused local variables. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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)); -- 2.30.2