From: Hallvard Furuseth Date: Mon, 14 Nov 2005 14:40:01 +0000 (+0000) Subject: Remove unused declaration bdb_tool_ix_rec() and variable bdb X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa37b27ab3f8a4333ded4fbb501420eac0638913;p=openldap Remove unused declaration bdb_tool_ix_rec() and variable bdb --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 9dbb549afc..39ff2d728a 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -70,7 +70,6 @@ static struct bdb_info *bdb_tool_info; static ldap_pvt_thread_mutex_t bdb_tool_index_mutex; static ldap_pvt_thread_cond_t bdb_tool_index_cond; -static int bdb_tool_ix_rec( int base ); static void * bdb_tool_index_task( void *ctx, void *ptr ); int bdb_tool_entry_open( @@ -118,8 +117,6 @@ int bdb_tool_entry_open( int bdb_tool_entry_close( BackendDB *be ) { - struct bdb_info *bdb = (struct bdb_info *) be->be_private; - if ( bdb_tool_info ) { slapd_shutdown = 1; ldap_pvt_thread_mutex_lock( &bdb_tool_index_mutex );