s3-smbd: remove unused sconn from token_contains_name().
authorGünther Deschner <gd@samba.org>
Mon, 31 May 2010 19:49:04 +0000 (21:49 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 31 May 2010 20:18:30 +0000 (22:18 +0200)
Guenther

source3/smbd/share_access.c

index d41b05d1d8cb88fcfd10bc9ccff28fdded959775..6f3bfd020aa2e0c099853ffa929ee7aae8c5b016 100644 (file)
@@ -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);