]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Tue, 19 Jul 2005 14:38:55 +0000 (14:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 19 Jul 2005 14:38:55 +0000 (14:38 +0000)
servers/slapd/mra.c

index 9337c39d1b4942b1eb2d1e44b9279d5738f4c5f1..e72298feb9d5f437e616b85597d547b817400a04 100644 (file)
@@ -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 ) {