[FYI] Remove duplicated case

Gary Benson gbenson@redhat.com
Wed Jun 29 15:22:00 GMT 2011


Hi all,

This commit removes a duplicated case in an if statement,
presumably the result of a bad merge or something.

Cheers,
Gary

-- 
http://gbenson.net/
-------------- next part --------------
2011-06-29  Gary Benson  <gbenson@redhat.com>

	* breakpoint.c (bpstat_what): Removed duplicated case.

Index: gdb/breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.592
diff -u -r1.592 breakpoint.c
--- gdb/breakpoint.c	22 Jun 2011 17:53:44 -0000	1.592
+++ gdb/breakpoint.c	29 Jun 2011 15:18:31 -0000
@@ -4435,8 +4435,6 @@
 	     breakpoint which has since been deleted.  */
 	  bptype = bp_none;
 	}
-      else if (bs->breakpoint_at == NULL)
-	bptype = bp_none;
       else
 	bptype = bs->breakpoint_at->type;
 


More information about the Gdb-patches mailing list