From: Andreas Schneider Date: Mon, 1 Feb 2021 17:18:39 +0000 (+0100) Subject: s4:ntvfs: Add missing break in switch statement X-Git-Tag: tevent-0.11.0~1858 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a87820093431ac1b5940c7b010553af9cbfced22;p=thirdparty%2Fsamba.git s4:ntvfs: Add missing break in switch statement error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/source4/ntvfs/posix/pvfs_fsinfo.c b/source4/ntvfs/posix/pvfs_fsinfo.c index 35256fe69d1..c355c19b300 100644 --- a/source4/ntvfs/posix/pvfs_fsinfo.c +++ b/source4/ntvfs/posix/pvfs_fsinfo.c @@ -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; }