]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: Add FALL_THROUGH statements in util_path.c
authorAndreas Schneider <asn@samba.org>
Thu, 27 Jul 2017 14:57:38 +0000 (16:57 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:41 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/util_path.c

index 6f58a03ae587e1cfd08a6893e4a95211717ea9f4..5b133dfdc7842ab0ed75ad835e4547b5197ec420 100644 (file)
@@ -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;