From: Jim Meyering Date: Fri, 26 May 2017 04:25:37 +0000 (-0700) Subject: quotearg: fix compilation failure due to FALLTHROUGH misuse X-Git-Tag: v1.0~6115 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6c720446ab4f450b86fe61113096d09f64029de4;p=gnulib.git quotearg: fix compilation failure due to FALLTHROUGH misuse * lib/quotearg.c (quotearg_buffer_restyled): Revert one FALLTHROUGH macro back to /* fall through */ comment. The macro can apply only to a following case statement. Reported by Assaf Gordon. --- diff --git a/ChangeLog b/ChangeLog index 3e78d5a0fe..2252a4a23e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-05-25 Jim Meyering + + quotearg: fix compilation failure due to FALLTHROUGH misuse + * lib/quotearg.c (quotearg_buffer_restyled): Revert one FALLTHROUGH + macro back to /* fall through */ comment. The macro can apply only + to a following case statement. Reported by Assaf Gordon. + 2017-05-25 Paul Eggert intprops: port to recent icc diff --git a/lib/quotearg.c b/lib/quotearg.c index f1bdf317a3..06172c1939 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -513,7 +513,7 @@ quotearg_buffer_restyled (char *buffer, size_t buffersize, if (quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; - FALLTHROUGH; + /* fall through */ c_escape: if (backslash_escapes) {