This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/obvious] Remove unused variable in parse_breakpoint_sals


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]