From: Howard Chu Date: Fri, 31 Mar 2006 22:24:39 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c00235198271da67525e156245f24bb8f8748fdb;p=openldap cleanup --- 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 {