]> git.sur5r.net Git - openldap/commitdiff
Remove unused variables
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:38:04 +0000 (23:38 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:38:04 +0000 (23:38 +0000)
servers/slapd/back-bdb/dn2id.c
servers/slapd/back-bdb/index.c

index 7cf12c0bbe7e4501552f18eb0ec52df77e9b728b..c745b029853c2b87628325b1032731dd4ff0b083 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 45a1d54cd376e9a1da56070145e00a1810ca3cd1..e08920e1004e739777748f8beb96c93fc8dba777 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;