From: Howard Chu Date: Sat, 3 Aug 2002 09:15:17 +0000 (+0000) Subject: ITS#1956, bvalp declaration X-Git-Tag: NO_SLAP_OP_BLOCKS~1292 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcba22cc057af67a648ea53cfd7bbfedc504347d;p=openldap ITS#1956, bvalp declaration --- 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;