From: Kurt Zeilenga Date: Wed, 1 Sep 2004 00:23:34 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~587 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ece02dc7d242bc238c48b3e7f519a320ece5777;p=openldap cleanup --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 0057cf0b82..b9a3e89553 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1438,7 +1438,7 @@ restrict_unknown:; } else if ( strcasecmp( cargv[0], "allows" ) == 0 || strcasecmp( cargv[0], "allow" ) == 0 ) { - slap_mask_t allows; + slap_mask_t allows = 0; if ( be != NULL ) { #ifdef NEW_LOGGING @@ -1467,8 +1467,6 @@ restrict_unknown:; return( 1 ); } - allows = 0; - for( i=1; i < cargc; i++ ) { if( strcasecmp( cargv[i], "bind_v2" ) == 0 ) { allows |= SLAP_ALLOW_BIND_V2;