]> git.sur5r.net Git - openldap/commitdiff
Remove unused variables
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 8 Jan 2008 16:37:13 +0000 (16:37 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 8 Jan 2008 16:37:13 +0000 (16:37 +0000)
servers/slapd/back-bdb/dn2id.c
servers/slapd/back-bdb/index.c

index 578be1e2a7e211d41deff54805f9520d1f83e5f1..f8dbc0d86de8d63a15684c585c0dea027ba2d54e 100644 (file)
@@ -465,7 +465,7 @@ hdb_dup_compare(
 )
 {
        diskNode *un, *cn;
-       int rc, ul, cl;
+       int rc;
 
        un = (diskNode *)usrkey->data;
        cn = (diskNode *)curkey->data;
index 97e3a0650f06cfe2f1aa1648b2bd046b5447b30e..6bae114624c7091add9aef1e165f25f8428833d6 100644 (file)
@@ -477,7 +477,7 @@ bdb_index_entry(
 {
        int rc;
        Attribute *ap = e->e_attrs;
-#ifdef LDAP_COMP_MATCH
+#if 0 /* ifdef LDAP_COMP_MATCH */
        ComponentReference *cr_list = NULL;
        ComponentReference *cr = NULL, *dupped_cr = NULL;
        void* decoded_comp;