summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-10-09 16:21:26 +0000
committerNick Clifton <nickc@redhat.com>2013-10-09 16:21:26 +0000
commit93f161cfcb7f99365895808dd532cb80f893572c (patch)
tree11db9b642ce54950da6cdf5b044822badcd7adbc /binutils
parent5b2e229ad7f6aa90ae3a9a5793c9843f395399df (diff)
downloadbinutils-redhat-93f161cfcb7f99365895808dd532cb80f893572c.tar.gz
PR binutils/16023
* debug.c (debug_type_samep): Add missing break statement.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog3
-rw-r--r--binutils/debug.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 48d3f0ba25..3fd83fb686 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,8 @@
2013-10-09 Nick Clifton <nickc@redhat.com>
+ PR binutils/16023
+ * debug.c (debug_type_samep): Add missing break statement.
+
PR binutils/16024
* objdump.c (usage): Mark as a no-return function.
(main): Add comment explaining why a break statement is not
diff --git a/binutils/debug.c b/binutils/debug.c
index ee0d62e8ff..0aa1f50755 100644
--- a/binutils/debug.c
+++ b/binutils/debug.c
@@ -1,6 +1,5 @@
/* debug.c -- Handle generic debugging information.
- Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005, 2007,
- 2009 Free Software Foundation, Inc.
+ Copyright 1995-2013 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
@@ -3156,6 +3155,7 @@ debug_type_samep (struct debug_handle *info, struct debug_type_s *t1,
&& t1->u.krange->upper == t2->u.krange->upper
&& debug_type_samep (info, t1->u.krange->type,
t2->u.krange->type));
+ break;
case DEBUG_KIND_ARRAY:
ret = (t1->u.karray->lower == t2->u.karray->lower