From c00235198271da67525e156245f24bb8f8748fdb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 31 Mar 2006 22:24:39 +0000 Subject: [PATCH] cleanup --- servers/slapd/back-bdb/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 1fdeafda92..db71ca70ce 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -765,12 +765,12 @@ again: ldap_pvt_thread_rdwr_rlock( &bdb->bi_cache.c_rwlock ); } #else rc = hdb_cache_find_parent(op, tid, locker, id, eip ); - if ( rc == 0 && *eip ) islocked = 1; + if ( rc == 0 ) islocked = 1; #endif } /* Ok, we found the info, do we have the entry? */ - if ( *eip && rc == 0 ) { + if ( rc == 0 ) { if ( (*eip)->bei_state & CACHE_ENTRY_DELETED ) { rc = DB_NOTFOUND; } else { -- 2.39.5