From 50310ad75ddef5a809ac674c337880be37feb731 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 19 Sep 2011 10:29:57 +0200 Subject: s4:auth - remove unused variables Reviewed-by: Jelmer --- source4/auth/gensec/schannel.c | 1 - source4/auth/ntlmssp/ntlmssp_server.c | 1 - source4/libcli/smb_composite/sesssetup.c | 1 - 3 files changed, 3 deletions(-) (limited to 'source4') 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, diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c index 9023ef9cfb..7385669836 100644 --- a/source4/libcli/smb_composite/sesssetup.c +++ b/source4/libcli/smb_composite/sesssetup.c @@ -82,7 +82,6 @@ static void request_handler(struct smbcli_request *req) struct composite_context *c = (struct composite_context *)req->async.private_data; struct sesssetup_state *state = talloc_get_type(c->private_data, struct sesssetup_state); struct smbcli_session *session = req->session; - DATA_BLOB session_key = data_blob(NULL, 0); DATA_BLOB null_data_blob = data_blob(NULL, 0); NTSTATUS session_key_err, nt_status; struct smbcli_request *check_req = NULL; -- cgit