]> Savannah Git Hosting - gnulib.git/commitdiff
fallthrough: reinstate a FALLTHROUGH instance in quotearg
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 22 May 2017 11:45:45 +0000 (12:45 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 22 May 2017 11:48:31 +0000 (12:48 +0100)
quotearg.c: Reinstate this instance which is significant
when the if branch is not taken.

ChangeLog
lib/quotearg.c

index 8a4120d57254e7696bfc35fb4ce5ff83cb41b160..049a3930e3bd1d965e3da96117dcba2cbb75e7e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-05-22  Bernhard Voelker  <mail@bernhard-voelker.de>
+
+       fallthrough: reinstate a FALLTHROUGH instance in quotearg
+       quotearg.c: Reinstate this instance which is significant
+       when the if branch is not taken.
+
 2017-05-21  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool: Add options to create hard links.
index f6570330b9338f689dfba489856edd5582021d39..f1bdf317a3043671d9d41c796f15179260d64912 100644 (file)
@@ -513,6 +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;
         c_escape:
           if (backslash_escapes)
             {