]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Wed, 1 Sep 2004 00:23:34 +0000 (00:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 1 Sep 2004 00:23:34 +0000 (00:23 +0000)
servers/slapd/config.c

index 0057cf0b82433f0ba8872047194cfbe7d31a7af7..b9a3e895536f2acbffc5b79e0d94405f77ecb8e5 100644 (file)
@@ -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;