summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/share_access.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c
index d41b05d1d8..6f3bfd020a 100644
--- a/source3/smbd/share_access.c
+++ b/source3/smbd/share_access.c
@@ -73,7 +73,6 @@ static bool token_contains_name(TALLOC_CTX *mem_ctx,
const char *prefix;
struct dom_sid sid;
enum lsa_SidType type;
- struct smbd_server_connection *sconn = smbd_server_conn;
if (username != NULL) {
name = talloc_sub_basic(mem_ctx, username, domain, name);