svn commit: samba r2119 - in branches/SAMBA_4_0/source/libcli/auth: .

abartlet at samba.org abartlet at samba.org
Tue Aug 31 02:57:49 GMT 2004


Author: abartlet
Date: 2004-08-31 02:57:49 +0000 (Tue, 31 Aug 2004)
New Revision: 2119

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/libcli/auth&rev=2119&nolog=1

Log:
Noticed by jra:

Clean up use of unitilaised variable.

Andrew Bartlett


Modified:
   branches/SAMBA_4_0/source/libcli/auth/spnego.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/spnego.c	2004-08-31 01:16:50 UTC (rev 2118)
+++ branches/SAMBA_4_0/source/libcli/auth/spnego.c	2004-08-31 02:57:49 UTC (rev 2119)
@@ -287,15 +287,9 @@
 {
 	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) {



More information about the samba-cvs mailing list