summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-19 10:29:57 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-19 16:31:07 +0200
commit50310ad75ddef5a809ac674c337880be37feb731 (patch)
tree34676e69f19d9bcab67ef676d0717a118ac526a4 /source4/auth
parentc033e634d753a133e57ed6495ea1867a5b544a8e (diff)
downloadsamba-50310ad75ddef5a809ac674c337880be37feb731.tar.gz
samba-50310ad75ddef5a809ac674c337880be37feb731.tar.bz2
samba-50310ad75ddef5a809ac674c337880be37feb731.zip
s4:auth - remove unused variables
Reviewed-by: Jelmer
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/schannel.c1
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 4587d43184..b70d65a093 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -220,7 +220,6 @@ static NTSTATUS schannel_session_info(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
struct auth_session_info **_session_info)
{
- struct schannel_state *state = talloc_get_type(gensec_security->private_data, struct schannel_state);
return auth_anonymous_session_info(mem_ctx, gensec_security->settings->lp_ctx, _session_info);
}
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index 9f9e058f97..1f281479ff 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -220,7 +220,6 @@ NTSTATUS gensec_ntlmssp_session_info(struct gensec_security *gensec_security,
struct gensec_ntlmssp_context *gensec_ntlmssp =
talloc_get_type_abort(gensec_security->private_data,
struct gensec_ntlmssp_context);
- struct ntlmssp_state *ntlmssp_state = gensec_ntlmssp->ntlmssp_state;
nt_status = gensec_generate_session_info(mem_ctx,
gensec_security,