s3:smbd: Add FALL_THROUGH statements in reply.c
authorAndreas Schneider <asn@samba.org>
Fri, 13 Oct 2017 09:15:31 +0000 (11:15 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:43 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/reply.c

index 623f83b1250e787b4d363cd4382abe72f836913b..881667a6b44a27b31a3e207ceece9c379c2af08e 100644 (file)
@@ -190,16 +190,16 @@ static NTSTATUS check_path_syntax_internal(char *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;