summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-21 22:56:20 +0200
committerMichael Adam <obnox@samba.org>2012-09-22 10:19:02 +0200
commit93bee9b3e31b398b9becc7be7804025d4066359b (patch)
tree322b0e8b70909172933ae3fa3e9c29ee9fc69a11 /source3
parent841934647b06d6400148932cc8ce02a20c209610 (diff)
downloadsamba-93bee9b3e31b398b9becc7be7804025d4066359b.tar.gz
samba-93bee9b3e31b398b9becc7be7804025d4066359b.tar.bz2
samba-93bee9b3e31b398b9becc7be7804025d4066359b.zip
s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect()
Found by Ambi's state-of-the-art compiler!
Diffstat (limited to 'source3')
-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;