summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsueloverso <sue@mongodb.com>2016-09-01 16:59:17 -0400
committerKeith Bostic <keith.bostic@mongodb.com>2016-09-01 16:59:17 -0400
commitafb53e28cde37c6a52c591619c1649bf57a573ee (patch)
tree9b23843a81107a06eee30c18824d251506d7112c /src
parentd74813e029cff6d4b4e3c5cce547b77176d7a7cd (diff)
downloadmongo-afb53e28cde37c6a52c591619c1649bf57a573ee.tar.gz
WT-2866 Fix warning. (#3013)
src/evict/evict_lru.c 977 Warning 438: Last value assigned to variable 'other_queue' (defined at line 830) not used
Diffstat (limited to 'src')
-rw-r--r--src/evict/evict_lru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c
index 071bba59d13..83a6905707c 100644
--- a/src/evict/evict_lru.c
+++ b/src/evict/evict_lru.c
@@ -844,7 +844,7 @@ __evict_lru_walk(WT_SESSION_IMPL *session)
/* If this queue is full, try the other one. */
if (__evict_queue_full(queue) && !__evict_queue_full(other_queue))
queue = other_queue;
- other_queue = cache->evict_fill_queue =
+ cache->evict_fill_queue =
&cache->evict_queues[1 - (queue - cache->evict_queues)];
/*