summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/durable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c
index 5953e1b43e..42ad18e5b6 100644
--- a/source3/smbd/durable.c
+++ b/source3/smbd/durable.c
@@ -234,7 +234,7 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn,
NTSTATUS status;
bool ok;
int ret;
- int flags;
+ int flags = 0;
struct file_id file_id;
struct smb_filename *smb_fname = NULL;
enum ndr_err_code ndr_err;