diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2017-02-20 15:17:24 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2017-02-20 15:17:24 +1100 |
commit | e7b2a53c33271598c9041eec8363c95ff37daa58 (patch) | |
tree | 1f947ab2c784f20836277a57e93dd026f1d5cf86 | |
parent | acceacbab536b64d52a1f9ef2e6cbdd54a1996ef (diff) | |
download | mongo-e7b2a53c33271598c9041eec8363c95ff37daa58.tar.gz |
WT-3149 Fix a compiler warning on OS X. I guess I shouldn't try to future proof. (#3309)
src/evict/evict_lru.c:1683:2: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
-rw-r--r-- | src/evict/evict_lru.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c index 07cf8542c53..f1949a7c320 100644 --- a/src/evict/evict_lru.c +++ b/src/evict/evict_lru.c @@ -1680,9 +1680,6 @@ __evict_walk_file(WT_SESSION_IMPL *session, WT_RET_NOTFOUND_OK(ret); } break; - default: - WT_RET_MSG(session, EINVAL, - "Invalid btree walk state encountered"); } /* |