]> git.sur5r.net Git - openldap/commitdiff
Silence warning
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 09:34:05 +0000 (09:34 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 09:34:05 +0000 (09:34 +0000)
servers/slapd/back-bdb/search.c

index 180f4798030b0acf857417bfded4846fc6e45413..819e3c5196f6e39c2edc2c8d06c72a8592eaa40b 100644 (file)
@@ -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;