summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-02-17 09:21:01 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-02-17 09:21:01 -0500
commitcc63b91e5462fb5595ad926c7eb9fb7eac3c40dc (patch)
treea67ef0585d02e8b84e19fe2ea81a3177bef973e2
parenta9de0f7ac8ad373d7aef6a480c69a2a7e0b55c59 (diff)
downloadmongo-cc63b91e5462fb5595ad926c7eb9fb7eac3c40dc.tar.gz
Remove WT_ILLEGAL_VALUE_ERR case statement -- if it ever fired, it would
jump to the err label and unlock the flush_lock, and it doesn't hold that lock. It can't happen, so drop the code.
-rw-r--r--src/btree/bt_sync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/btree/bt_sync.c b/src/btree/bt_sync.c
index f038ebf3ecc..62380dd1cf2 100644
--- a/src/btree/bt_sync.c
+++ b/src/btree/bt_sync.c
@@ -137,7 +137,6 @@ __sync_file(WT_SESSION_IMPL *session, int syncop)
}
}
break;
- WT_ILLEGAL_VALUE_ERR(session);
}
if (WT_VERBOSE_ISSET(session, WT_VERB_CHECKPOINT)) {