From 93bee9b3e31b398b9becc7be7804025d4066359b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 21 Sep 2012 22:56:20 +0200 Subject: [PATCH] s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect() Found by Ambi's state-of-the-art compiler! --- source3/smbd/durable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT