From 168e6d44026869c1cd8dd66d7ef7cdeecdcff77d Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Wed, 29 Jun 2011 15:20:34 +0000 Subject: [PATCH] gdb/ * breakpoint.c (bpstat_what): Removed duplicated case. --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 157b82dc452..895d00b5bb3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-06-29 Gary Benson + + * breakpoint.c (bpstat_what): Removed duplicated case. + 2011-06-28 Tom Tromey * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 935cd0338bb..5a4bece5bea 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -4435,8 +4435,6 @@ bpstat_what (bpstat bs_head) breakpoint which has since been deleted. */ bptype = bp_none; } - else if (bs->breakpoint_at == NULL) - bptype = bp_none; else bptype = bs->breakpoint_at->type; -- 2.30.2