From: Hallvard Furuseth Date: Wed, 27 Jul 2005 09:34:05 +0000 (+0000) Subject: Silence warning X-Git-Tag: OPENLDAP_AC_BP~178 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a9aa5050f843446443dfa801e53a65e0af76f0c5;p=openldap Silence warning --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 180f479803..819e3c5196 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -314,7 +314,9 @@ bdb_search( Operation *op, SlapReply *rs ) Entry *matched = NULL; EntryInfo *ei, ei_root = {0}; struct berval realbase = BER_BVNULL; +#ifdef SLAP_ACL_HONOR_DISCLOSE slap_mask_t mask; +#endif int manageDSAit; int tentries = 0; ID lastid = NOID;