From: Pierangelo Masarati Date: Tue, 19 Jul 2005 14:38:55 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_AC_BP~328 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16934eb8efc4a560bfc7d65998eb22bb99b0b053;p=openldap cleanup --- diff --git a/servers/slapd/mra.c b/servers/slapd/mra.c index 9337c39d1b..e72298feb9 100644 --- a/servers/slapd/mra.c +++ b/servers/slapd/mra.c @@ -57,13 +57,11 @@ get_mra( struct berval type = BER_BVNULL; struct berval value = BER_BVNULL; struct berval rule_text = BER_BVNULL; - MatchingRuleAssertion ma; + MatchingRuleAssertion ma = { 0 }; #ifdef LDAP_COMP_MATCH AttributeAliasing* aa = NULL; #endif - memset( &ma, 0, sizeof ma); - rtag = ber_scanf( ber, "{t" /*"}"*/, &tag ); if( rtag == LBER_ERROR ) {