]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:ntvfs: Add missing break in switch statement
authorAndreas Schneider <asn@samba.org>
Mon, 1 Feb 2021 17:18:39 +0000 (18:18 +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>
source4/ntvfs/posix/pvfs_fsinfo.c

index 35256fe69d1c38edb92c02ed209be9e187b0147f..c355c19b3000efcd5c85dd766dd2044630f3ac6a 100644 (file)
@@ -102,6 +102,7 @@ NTSTATUS pvfs_fsinfo(struct ntvfs_module_context *ntvfs,
                if (sys_fsusage(pvfs->base_directory, &blocks_free, &blocks_total) == -1) {
                        return pvfs_map_errno(pvfs, errno);
                }
+               break;
        default:
                break;
        }