auth:credentials: Add FALL_THROUGH statements in credentials.c
authorAndreas Schneider <asn@samba.org>
Wed, 26 Jul 2017 16:20:53 +0000 (18:20 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 13:49:45 +0000 (14:49 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/credentials.c

index 4f3042e315241551cf0d446eea0f2cb36ae18f62..f9a6bc3b13e5c140656f5502fffad2e3b8fb477d 100644 (file)
@@ -1277,7 +1277,8 @@ _PUBLIC_ bool cli_credentials_parse_password_fd(struct cli_credentials *credenti
                                *++p = '\0'; /* advance p, and null-terminate pass */
                                break;
                        }
-                       /* fall through */
+
+                       FALL_THROUGH;
                case 0:
                        if (p - pass) {
                                *p = '\0'; /* null-terminate it, just in case... */