From: Hallvard Furuseth Date: Tue, 8 Jan 2008 16:37:13 +0000 (+0000) Subject: Remove unused variables X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~238 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f068303d3b8d346bad48d261a17d1d4aaa77c5b;p=openldap Remove unused variables --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 578be1e2a7..f8dbc0d86d 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -465,7 +465,7 @@ hdb_dup_compare( ) { diskNode *un, *cn; - int rc, ul, cl; + int rc; un = (diskNode *)usrkey->data; cn = (diskNode *)curkey->data; diff --git a/servers/slapd/back-bdb/index.c b/servers/slapd/back-bdb/index.c index 97e3a0650f..6bae114624 100644 --- a/servers/slapd/back-bdb/index.c +++ b/servers/slapd/back-bdb/index.c @@ -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;