[Date Prev][Date Next] [Chronological] [Thread] [Top]

extra variable declaration in ldapsearch.c (ITS#1956)



Full_Name: Kervin Pierre
Version: 2.1.3
OS: Windows 2000
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (163.118.3.50)



in ldap/clients/tools/ldapsearch.c , there seems to be an extra declaration of
'bvalp'.  The value is declared at the beginning of the 'main' function and then
new line 894.

--- ../../../openldap-2.1.3/clients/tools/ldapsearch.c	2002-06-09
12:33:24.000000000 -0400
+++ ldapsearch.c	2002-07-15 23:05:59.000000000 -0400
@@ -892,7 +892,6 @@
 		}
 
 		if ( valuesReturnFilter ) {
-			struct berval *bvalp;
 			ctrls[i++]=&c2;
 			ctrls[i] = NULL;