From 16934eb8efc4a560bfc7d65998eb22bb99b0b053 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 19 Jul 2005 14:38:55 +0000 Subject: [PATCH] cleanup --- servers/slapd/mra.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 ) { -- 2.39.5