From 6fe8b2f60834a01af69f8247ff7934cee5fd1ebb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 31 Aug 2004 02:57:49 +0000 Subject: r2119: Noticed by jra: Clean up use of unitilaised variable. Andrew Bartlett (This used to be commit e8d0246882f0d70dc3c63208d0a990804f36a05d) --- source4/libcli/auth/spnego.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/libcli') 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) { -- cgit