This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/obvious] Remove unused variable in parse_breakpoint_sals
- From: Keith Seitz <keiths at redhat dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 08 Aug 2012 13:45:52 -0700
- Subject: Re: [PATCH/obvious] Remove unused variable in parse_breakpoint_sals
- References: <5022CE8B.5000202@uglyboxes.com>
On 08/08/2012 01:39 PM, Keith Seitz wrote:
I am committing this as obvious.
And this time, including the patch!
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 03719d4..b24f71c 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9115,8 +9115,6 @@ static void
parse_breakpoint_sals (char **address,
struct linespec_result *canonical)
{
- char *addr_start = *address;
-
/* If no arg given, or if first arg is 'if ', use the default
breakpoint. */
if ((*address) == NULL