Commit 5a6eabb6 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Silence unused variable warnings

parent 202b309d
...@@ -3455,8 +3455,8 @@ slap_dynacl_get( const char *name ) ...@@ -3455,8 +3455,8 @@ slap_dynacl_get( const char *name )
int int
acl_init( void ) acl_init( void )
{ {
int i, rc;
#ifdef SLAP_DYNACL #ifdef SLAP_DYNACL
int i, rc;
slap_dynacl_t *known_dynacl[] = { slap_dynacl_t *known_dynacl[] = {
#ifdef SLAPD_ACI_ENABLED #ifdef SLAPD_ACI_ENABLED
&dynacl_aci, &dynacl_aci,
......
...@@ -79,7 +79,9 @@ static int replicationInterval; ...@@ -79,7 +79,9 @@ static int replicationInterval;
static char *passwd_salt; static char *passwd_salt;
static char *logfileName; static char *logfileName;
#ifdef SLAP_AUTH_REWRITE
static BerVarray authz_rewrites; static BerVarray authz_rewrites;
#endif
static struct berval cfdir; static struct berval cfdir;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment