diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-09-19 10:29:57 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-09-19 16:31:07 +0200 |
commit | 50310ad75ddef5a809ac674c337880be37feb731 (patch) | |
tree | 34676e69f19d9bcab67ef676d0717a118ac526a4 /source4 | |
parent | c033e634d753a133e57ed6495ea1867a5b544a8e (diff) | |
download | samba-50310ad75ddef5a809ac674c337880be37feb731.tar.gz samba-50310ad75ddef5a809ac674c337880be37feb731.tar.bz2 samba-50310ad75ddef5a809ac674c337880be37feb731.zip |
s4:auth - remove unused variables
Reviewed-by: Jelmer
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/schannel.c | 1 | ||||
-rw-r--r-- | source4/auth/ntlmssp/ntlmssp_server.c | 1 | ||||
-rw-r--r-- | source4/libcli/smb_composite/sesssetup.c | 1 |
3 files changed, 0 insertions, 3 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, 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; |