]> git.sur5r.net Git - openldap/commitdiff
Remove unused declaration bdb_tool_ix_rec() and variable bdb
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 14 Nov 2005 14:40:01 +0000 (14:40 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 14 Nov 2005 14:40:01 +0000 (14:40 +0000)
servers/slapd/back-bdb/tools.c

index 9dbb549afcf68ca3c8db22b67835d36fa9cc6f3b..39ff2d728a2140a677ba49977ebb6f44efb0348b 100644 (file)
@@ -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 );