]> git.sur5r.net Git - openldap/commitdiff
fix uninitialized vars
authorHoward Chu <hyc@openldap.org>
Sun, 30 Dec 2001 00:24:44 +0000 (00:24 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 30 Dec 2001 00:24:44 +0000 (00:24 +0000)
servers/slapd/dn.c

index 2ecc54369d76e9dfceb325ca084a1005288ee0df..f5745da168f09f79966421392a134b93d8cac4b4 100644 (file)
@@ -232,7 +232,7 @@ LDAPDN_rewrite( LDAPDN *dn, unsigned flags )
                        AttributeDescription    *ad;
                        slap_syntax_transform_func *transf = NULL;
                        MatchingRule *mr;
-                       struct berval           bv;
+                       struct berval           bv = { 0, NULL };
 
                        assert( ava );