]> git.sur5r.net Git - openldap/commitdiff
ITS#1956, bvalp declaration
authorHoward Chu <hyc@openldap.org>
Sat, 3 Aug 2002 09:15:17 +0000 (09:15 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 3 Aug 2002 09:15:17 +0000 (09:15 +0000)
clients/tools/ldapsearch.c

index 0b3393e3c63a47c552c6a2c4beb08cfa8a481f3b..836752f257d26f1903cda0ea33c7404b441ecc12 100644 (file)
@@ -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;