diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2016-09-16 12:41:50 +1000 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-09-16 12:41:50 +1000 |
commit | 0bf6b4d9ffc468920c3432bf77da1da940576af4 (patch) | |
tree | 4716efed99e19bf975da1ba2e637fb56a2872fe0 | |
parent | e25414c050a90a598c380e898853e99e6910fb4c (diff) | |
download | mongo-0bf6b4d9ffc468920c3432bf77da1da940576af4.tar.gz |
WT-2905 dead code: MongoDB Coverity #99881. (#3045)
-rw-r--r-- | src/evict/evict_lru.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |