diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-01-23 15:48:39 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2020-02-11 07:51:23 +0000 |
commit | d5fa47e02ffa8bff32456ac1c34b40f0169addbf (patch) | |
tree | 66370925b3685d7f9643a1691be3de9ecf6d769f | |
parent | 105e48e2712e7293b1c5826fd0dedf639ed44544 (diff) | |
download | samba-d5fa47e02ffa8bff32456ac1c34b40f0169addbf.tar.gz |
s3:auth_sam: replace confusing FALL_THROUGH; with break;
There's no real logic change here, but is makes it easier to
understand.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14247
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 85b168c6dac88f5065c0ec6e925937439f2c12ed)
-rw-r--r-- | source3/auth/auth_sam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c index 46958c54d3a..1ccaededc2d 100644 --- a/source3/auth/auth_sam.c +++ b/source3/auth/auth_sam.c @@ -89,7 +89,7 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context, return NT_STATUS_NOT_IMPLEMENTED; } - FALL_THROUGH; + break; case ROLE_DOMAIN_PDC: case ROLE_DOMAIN_BDC: if ( !is_local_name && !is_my_domain ) { @@ -98,7 +98,7 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context, return NT_STATUS_NOT_IMPLEMENTED; } - FALL_THROUGH; + break; default: /* name is ok */ break; } |