s3:modules: Add FALL_THROUGH statements in getdate.c
authorAndreas Schneider <asn@samba.org>
Fri, 13 Oct 2017 09:08:36 +0000 (11:08 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:43 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/getdate.c

index 6ed994649c4e7689a08ad62b9e74a710d7d63097..2879bc87f4b8bc0e82e026d0dc2e46faf5ed30e5 100644 (file)
@@ -1098,9 +1098,10 @@ yytnamerr (char *yyres, const char *yystr)
            goto do_not_strip_quotes;
 
          case '\\':
-           if (*++yyp != '\\')
+           if (*++yyp != '\\') {
              goto do_not_strip_quotes;
-           /* Fall through.  */
+           }
+           FALL_THROUGH;
          default:
            if (yyres)
              yyres[yyn] = *yyp;