]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: Add missing break in switch statement
authorAndreas Schneider <asn@samba.org>
Mon, 1 Feb 2021 17:15:08 +0000 (18:15 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 1 Feb 2021 21:50:32 +0000 (21:50 +0000)
error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c

index ba19fd2897b4d1b0452796609affef571bbc2057..6dbbe9cd7f131ab7f559bd0d84af5e1b640451b7 100644 (file)
@@ -6378,6 +6378,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
                                return;
                        }
                        lock_data_count = total_data;
+                       break;
                }
                default:
                        break;