diff options
author | Andreas Schneider <asn@samba.org> | 2017-07-27 16:57:38 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-03-01 04:37:41 +0100 |
commit | 9fed4562cae3e7e2b528b94176b6063522f332eb (patch) | |
tree | b017a22bb354c6355150d8f50391613f00bc07d3 /source3 | |
parent | d78d1a71ffa166a95729e273a68e012f2965120e (diff) | |
download | samba-9fed4562cae3e7e2b528b94176b6063522f332eb.tar.gz |
s3:lib: Add FALL_THROUGH statements in util_path.c
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_path.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source3/lib/util_path.c b/source3/lib/util_path.c index 6f58a03ae58..5b133dfdc78 100644 --- a/source3/lib/util_path.c +++ b/source3/lib/util_path.c @@ -204,16 +204,20 @@ char *canonicalize_absolute_path(TALLOC_CTX *ctx, const char *abs_path) switch(siz) { case 5: *d++ = *s++; - /*fall through*/ + + FALL_THROUGH; case 4: *d++ = *s++; - /*fall through*/ + + FALL_THROUGH; case 3: *d++ = *s++; - /*fall through*/ + + FALL_THROUGH; case 2: *d++ = *s++; - /*fall through*/ + + FALL_THROUGH; case 1: *d++ = *s++; break; |