summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-21 22:56:20 +0200
committerKarolin Seeger <kseeger@samba.org>2012-09-28 09:23:08 +0200
commit010c93e25c1de51ab227846053990ab356ca9939 (patch)
tree6a706eb1790185ba49a9a7b617882dae504f53c0
parentd995da069f00846ce251a71ab773c2f8630f5cae (diff)
downloadsamba-010c93e25c1de51ab227846053990ab356ca9939.tar.gz
s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect()
Found by Ambi's state-of-the-art compiler! (cherry picked from commit 93bee9b3e31b398b9becc7be7804025d4066359b) Signed-off-by: Stefan Metzmacher <metze@samba.org>
-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 5953e1b43ef..42ad18e5b65 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;