summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_scannedonly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c
index 12077f374d..679ecc87df 100644
--- a/source3/modules/vfs_scannedonly.c
+++ b/source3/modules/vfs_scannedonly.c
@@ -377,7 +377,7 @@ static bool scannedonly_allow_access(vfs_handle_struct * handle,
struct smb_filename *cache_smb_fname;
TALLOC_CTX *ctx=talloc_tos();
char *cachefile;
- int retval;
+ int retval = -1;
int didloop;
DEBUG(SCANNEDONLY_DEBUG,
("smb_fname->base_name=%s, shortname=%s, base_name=%s\n"