summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-31 02:57:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:26 -0500
commit6fe8b2f60834a01af69f8247ff7934cee5fd1ebb (patch)
treeed33fadb18c844350c8c646567e31c137c6f797b /source4/libcli/auth
parent91e645b6d73a6ad9593b5dcdb78937573d48d0d3 (diff)
downloadsamba-6fe8b2f60834a01af69f8247ff7934cee5fd1ebb.tar.gz
samba-6fe8b2f60834a01af69f8247ff7934cee5fd1ebb.tar.bz2
samba-6fe8b2f60834a01af69f8247ff7934cee5fd1ebb.zip
r2119: Noticed by jra:
Clean up use of unitilaised variable. Andrew Bartlett (This used to be commit e8d0246882f0d70dc3c63208d0a990804f36a05d)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/spnego.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index ed938c4a11..de71814354 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -287,15 +287,9 @@ static NTSTATUS gensec_spnego_client_negTokenInit(struct gensec_security *gensec
{
DATA_BLOB null_data_blob = data_blob(NULL,0);
NTSTATUS nt_status;
- int num_ops;
const char **mechTypes = NULL;
DATA_BLOB unwrapped_out = data_blob(NULL,0);
- if (num_ops < 1) {
- DEBUG(1, ("no GENSEC backends available\n"));
- return NT_STATUS_INVALID_PARAMETER;
- }
-
mechTypes = gensec_security_oids(out_mem_ctx, OID_SPNEGO);
if (!mechTypes) {