]> git.sur5r.net Git - openldap/commitdiff
Missed a dnPretty ber_val NULL...
authorKurt Zeilenga <kurt@openldap.org>
Mon, 24 Dec 2001 18:53:33 +0000 (18:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 24 Dec 2001 18:53:33 +0000 (18:53 +0000)
servers/slapd/entry.c

index af1eb92f4e8930b248544e7646c9ad86a319f64c..b0f6511219260d7c1a0d8e453fe9594adde2790f 100644 (file)
@@ -200,7 +200,7 @@ str2entry( char *s )
                }
 
                if( slapMode & SLAP_TOOL_MODE ) {
-                       struct berval *pval;
+                       struct berval *pval = NULL;
                        slap_syntax_validate_func *validate =
                                ad->ad_type->sat_syntax->ssyn_validate;
                        slap_syntax_transform_func *pretty =