mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
auth:credentials: Add FALL_THROUGH statements in credentials.c
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c38062604b
commit
9a971bcd07
@ -1277,7 +1277,8 @@ _PUBLIC_ bool cli_credentials_parse_password_fd(struct cli_credentials *credenti
|
|||||||
*++p = '\0'; /* advance p, and null-terminate pass */
|
*++p = '\0'; /* advance p, and null-terminate pass */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* fall through */
|
|
||||||
|
FALL_THROUGH;
|
||||||
case 0:
|
case 0:
|
||||||
if (p - pass) {
|
if (p - pass) {
|
||||||
*p = '\0'; /* null-terminate it, just in case... */
|
*p = '\0'; /* null-terminate it, just in case... */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user