From: Andreas Schneider Date: Thu, 27 Jul 2017 14:57:38 +0000 (+0200) Subject: s3:lib: Add FALL_THROUGH statements in util_path.c X-Git-Tag: talloc-2.1.12~392 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fed4562cae3e7e2b528b94176b6063522f332eb;p=thirdparty%2Fsamba.git s3:lib: Add FALL_THROUGH statements in util_path.c Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- 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;