]> git.sur5r.net Git - openldap/commitdiff
Silence unused variable warnings
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 08:52:32 +0000 (08:52 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 08:52:32 +0000 (08:52 +0000)
servers/slapd/acl.c
servers/slapd/bconfig.c

index e6ac2326280d705be82a9fedc406e8758c0c2f70..a6f0a853d01b1284a67bdfa291d619aff5ce9df5 100644 (file)
@@ -3455,8 +3455,8 @@ slap_dynacl_get( const char *name )
 int
 acl_init( void )
 {
-       int             i, rc;
 #ifdef SLAP_DYNACL
+       int             i, rc;
        slap_dynacl_t   *known_dynacl[] = {
 #ifdef SLAPD_ACI_ENABLED
                &dynacl_aci,
index 0c23e4b4177eb2d7798328d8987e6a777d77cc3c..8ae40a4ecb57a8ce3489a4ffa14703dda821e3d9 100644 (file)
@@ -79,7 +79,9 @@ static int replicationInterval;
 
 static char    *passwd_salt;
 static char    *logfileName;
+#ifdef SLAP_AUTH_REWRITE
 static BerVarray authz_rewrites;
+#endif
 
 static struct berval cfdir;