[PATCH/obvious] Remove unused variable in parse_breakpoint_sals

Keith Seitz keiths@redhat.com
Wed Aug 8 20:46:00 GMT 2012


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



More information about the Gdb-patches mailing list