From: Andreas Schneider Date: Wed, 26 Jul 2017 16:20:53 +0000 (+0200) Subject: auth:credentials: Add FALL_THROUGH statements in credentials.c X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=9a971bcd0799763966be6c3f1350130140e436e2;p=metze%2Fsamba%2Fwip.git auth:credentials: Add FALL_THROUGH statements in credentials.c Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/auth/credentials/credentials.c b/auth/credentials/credentials.c index 4f3042e31524..f9a6bc3b13e5 100644 --- a/auth/credentials/credentials.c +++ b/auth/credentials/credentials.c @@ -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... */