diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ada-lang.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 965917c..7261b9a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ 2011-03-07 Joel Brobecker <brobecker@adacore.com> + + * ada-lang.c (compare_names): Add FALLTHROUGH comment. + +2011-03-07 Joel Brobecker <brobecker@adacore.com> Michael Snyder <msnyder@vmware.com> * ada-valprint.c (ada_val_print_array): Move the declaration of 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); |