From: Howard Chu Date: Sun, 25 Sep 2005 06:12:41 +0000 (+0000) Subject: ITS#4040 move initialization X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~387 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86bd3651e1bc6129cf2bd4ba271f33207843aaff;p=openldap ITS#4040 move initialization --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index b7cd3ba263..789c7f001a 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1066,7 +1066,7 @@ uniqueMemberMatch( struct berval *asserted = (struct berval *) assertedValue; struct berval assertedDN = *asserted; struct berval assertedUID = BER_BVNULL; - struct berval valueDN = BER_BVNULL; + struct berval valueDN = *value; struct berval valueUID = BER_BVNULL; int approx = ((flags & SLAP_MR_EQUALITY_APPROX) == SLAP_MR_EQUALITY_APPROX); @@ -1086,7 +1086,6 @@ uniqueMemberMatch( } } - valueDN = *value; if ( !BER_BVISEMPTY( value ) ) { valueUID.bv_val = strrchr( valueDN.bv_val, '#' );