From: Kurt Zeilenga Date: Wed, 27 Oct 1999 04:40:56 +0000 (+0000) Subject: Remove lint X-Git-Tag: UCDATA_2_4~311 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fbee54fa5067866c476c29699c2a561559077ac;p=openldap Remove lint --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index d605a07c44..b7b9510e1b 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -195,7 +195,6 @@ acl_get( regmatch_t *matches ) { - AccessControl *next; assert( e != NULL ); assert( count != NULL ); @@ -592,8 +591,6 @@ acl_check_modlist( } for ( ; mlist != NULL; mlist = mlist->ml_next ) { - regmatch_t matches[MAXREMATCHES]; - /* the lastmod attributes are ignored by ACL checking */ if ( oc_check_no_usermod_attr( mlist->ml_type ) ) { Debug( LDAP_DEBUG_ACL, "Operational attribute: %s access allowed\n", diff --git a/servers/slapd/back-ldbm/search.c b/servers/slapd/back-ldbm/search.c index 36203bdaa4..67a6c82e17 100644 --- a/servers/slapd/back-ldbm/search.c +++ b/servers/slapd/back-ldbm/search.c @@ -128,7 +128,7 @@ ldbm_back_search( be->be_sizelimit : slimit; } - if ( scope == LDAP_SCOPE_BASE) { + if ( scope == LDAP_SCOPE_BASE ) { candidates = base_candidate( be, e ); } else {