diff options
author | Mark Wielaard <mjw@redhat.com> | 2016-11-04 23:55:01 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2016-11-04 23:55:01 +0000 |
commit | c4ec8585dcc2d8b6bc7372f2765aef438575eb94 (patch) | |
tree | 3df95a30e4d33af6c4197800347e9b803d1b2f2d /gcc/fortran/trans-expr.c | |
parent | 8d48126dc7fc47684bf655d298951766a456c7ec (diff) | |
download | gcc-c4ec8585dcc2d8b6bc7372f2765aef438575eb94.zip gcc-c4ec8585dcc2d8b6bc7372f2765aef438575eb94.tar.gz gcc-c4ec8585dcc2d8b6bc7372f2765aef438575eb94.tar.bz2 |
libiberty: Fix -Wimplicit-fallthrough warnings.
Adjust some comments, add some explicit fall through comments or explicit
returns where necessary to not get implicit-fallthrough warnings.
All fall throughs were deliberate. In one case I added an explicit return
false for clarity instead of falling through a default case (that also
would return false).
libiberty/ChangeLog:
* cplus-dem.c (demangle_signature): Move fall through comment.
(demangle_fund_type): Add fall through comment between 'G' and 'I'.
* hashtab.c (iterative_hash): Add fall through comments.
* regex.c (regex_compile): Add Fall through comment after '+'/'?'.
(byte_re_match_2_internal): Add Fall through comment after jump_n.
Change "Note fall through" to "Fall through".
(common_op_match_null_string_p): Return false after set_number_at
instead of fall through.
From-SVN: r241864
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions