From dcba22cc057af67a648ea53cfd7bbfedc504347d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 3 Aug 2002 09:15:17 +0000 Subject: [PATCH] ITS#1956, bvalp declaration --- clients/tools/ldapsearch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 0b3393e3c6..836752f257 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -186,7 +186,7 @@ main( int argc, char **argv ) LDAP *ld = NULL; int valuesReturnFilter; BerElement *ber; - struct berval *bvalp; + struct berval *bvalp = NULL; char *vrFilter = NULL, *control = NULL, *s; @@ -890,7 +890,6 @@ main( int argc, char **argv ) } if ( valuesReturnFilter ) { - struct berval *bvalp; ctrls[i++]=&c2; ctrls[i] = NULL; -- 2.39.5