From 5f068303d3b8d346bad48d261a17d1d4aaa77c5b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 8 Jan 2008 16:37:13 +0000 Subject: [PATCH] Remove unused variables --- servers/slapd/back-bdb/dn2id.c | 2 +- servers/slapd/back-bdb/index.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5