From a5f9b33cb47d7cb91a201e058b18bc5d45c397ef Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 5 Sep 2018 11:31:10 +0200 Subject: [PATCH] vfs_fruit: fix an uninitialized variable error clang does not recognize "smb_panic" as an "exit()" equivalent Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/modules/vfs_fruit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 1102059bbee..894c361a05f 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -2331,7 +2331,7 @@ static off_t access_to_netatalk_brl(enum apple_fork fork_type, static off_t denymode_to_netatalk_brl(enum apple_fork fork_type, uint32_t deny_mode) { - off_t offset; + off_t offset = 0; switch (deny_mode) { case DENY_READ: -- 2.47.2