summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-02-23 10:08:34 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-02-23 10:08:34 -0500
commit5839549ac1647a4173ce5adc0e044f16da63a000 (patch)
treeec43968eaaef3d4b32bc8bc3269af4d9029697ae
parent8827d909d7f14e9ad767d909d65598508ff0025c (diff)
downloadmongo-5839549ac1647a4173ce5adc0e044f16da63a000.tar.gz
error: variable 'btree' set but not used [-Werror=unused-but-set-variable]
-rw-r--r--src/evict/evict_file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evict/evict_file.c b/src/evict/evict_file.c
index 00d6481ec55..9e39fcc7a2c 100644
--- a/src/evict/evict_file.c
+++ b/src/evict/evict_file.c
@@ -15,14 +15,11 @@
int
__wt_evict_file(WT_SESSION_IMPL *session, int syncop)
{
- WT_BTREE *btree;
WT_DECL_RET;
WT_PAGE *page;
WT_REF *next_ref, *ref;
int evict_reset;
- btree = S2BT(session);
-
/*
* We need exclusive access to the file -- disable ordinary eviction
* and drain any blocks already queued.