[PATCH] smbd: Remove a "set but unused" variable

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 27 03:04:21 MST 2013


Hi!

Please review & push

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From f4ddcfdff220f9704bcc41ded8afebea3b06b1ce Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 27 Nov 2013 09:13:52 +0000
Subject: [PATCH] smbd: Remove a "set but unused" variable

This is should have been in a793ac0

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/smbd/reply.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 1231183..e7bcce0 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1885,7 +1885,6 @@ void reply_open(struct smb_request *req)
 	uint32 create_options = 0;
 	uint32_t private_flags = 0;
 	NTSTATUS status;
-	bool ask_sharemode = lp_parm_bool(SNUM(conn), "smbd", "search ask sharemode", true);
 	TALLOC_CTX *ctx = talloc_tos();
 
 	START_PROFILE(SMBopen);
-- 
1.8.1.2



More information about the samba-technical mailing list