aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-03-07 10:05:20 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-03-07 10:05:20 +0000
commitdbb8534f737da4685f1a99cde891e1d7303a6336 (patch)
treee6ec72bd2c9e7e7c9f4441c33e0f03cb7f3d471e /gdb/ada-lang.c
parentdd70cc93886d30b8fa7313122946e50e9e224072 (diff)
downloadgdb-dbb8534f737da4685f1a99cde891e1d7303a6336.zip
gdb-dbb8534f737da4685f1a99cde891e1d7303a6336.tar.gz
gdb-dbb8534f737da4685f1a99cde891e1d7303a6336.tar.bz2
add FALLTHROUGH comment in ada-lang.c:compare_names
gdb/ChangeLog: * ada-lang.c (compare_names): Add FALLTHROUGH comment.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index d0a1014..3c24b4c 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4762,6 +4762,7 @@ compare_names (const char *string1, const char *string2)
else
return -1;
}
+ /* FALLTHROUGH */
default:
if (*string2 == '(')
return strcmp_iw_ordered (string1, string2);