This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] small append_expanded_sal cleanup.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Jun 2009 15:26:40 +0100
- Subject: [ob] small append_expanded_sal cleanup.
Checked in.
2009-06-11 Pedro Alves <pedro@codesourcery.com>
* symtab.c (append_expanded_sal): Remove unused local variables.
---
gdb/symtab.c | 2 --
1 file changed, 2 deletions(-)
Index: src/gdb/symtab.c
===================================================================
--- src.orig/gdb/symtab.c 2009-06-11 13:33:34.000000000 +0100
+++ src/gdb/symtab.c 2009-06-11 13:34:05.000000000 +0100
@@ -4502,8 +4502,6 @@ append_expanded_sal (struct symtabs_and_
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));