From: Joel Brobecker Date: Mon, 28 Feb 2011 04:33:26 +0000 (+0000) Subject: add FALLTHROUGH comment in ada-exp.y:write_object_renaming X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810;p=binutils-gdb.git add FALLTHROUGH comment in ada-exp.y:write_object_renaming gdb/ChangeLog: From Michael Snyder * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 041543b310f..682c9f1b356 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-02-28 Joel Brobecker + + From Michael Snyder + * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. + 2011-02-27 Michael Snyder * objc-lang.c (selectors_info): Prevent string overrun. diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index e56b7bcb28b..e64d1eb4566 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -920,6 +920,7 @@ write_object_renaming (struct block *orig_left_context, break; case 'L': slice_state = LOWER_BOUND; + /* FALLTHROUGH */ case 'S': renaming_expr += 1; if (isdigit (*renaming_expr))