From 0bf6b4d9ffc468920c3432bf77da1da940576af4 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Fri, 16 Sep 2016 12:41:50 +1000 Subject: WT-2905 dead code: MongoDB Coverity #99881. (#3045) --- src/evict/evict_lru.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c index 2cca4a08ed0..cc4d8ea1e08 100644 --- a/src/evict/evict_lru.c +++ b/src/evict/evict_lru.c @@ -1617,8 +1617,8 @@ __evict_get_ref( * Don't force application threads to evict dirty pages if they * aren't stalled by the amount of dirty data in cache. */ - if (!urgent_ok && (is_server || (is_app && - !F_ISSET(cache, WT_CACHE_EVICT_DIRTY_HARD))) && + if (!urgent_ok && (is_server || + !F_ISSET(cache, WT_CACHE_EVICT_DIRTY_HARD)) && __wt_page_is_modified(evict->ref->page)) { --evict; break; -- cgit v1.2.1