summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-09-20 14:30:29 -0400
committerHenrik Edin <henrik.edin@mongodb.com>2018-09-20 14:49:15 -0400
commita39bd7ca06b4fddec816446a23298c78e6aa7375 (patch)
treea80af2c9d7b12673b6599047c9d9193670b626ba
parentdab01f0b79061fd0d7d7ae172f10b69ba392929c (diff)
downloadmongo-a39bd7ca06b4fddec816446a23298c78e6aa7375.tar.gz
SERVER-36084 Fix unused variable
-rw-r--r--src/mongo/db/s/collection_sharding_state_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/s/collection_sharding_state_test.cpp b/src/mongo/db/s/collection_sharding_state_test.cpp
index 7c957cd0e10..0c211951b44 100644
--- a/src/mongo/db/s/collection_sharding_state_test.cpp
+++ b/src/mongo/db/s/collection_sharding_state_test.cpp
@@ -59,7 +59,6 @@ using DeleteStateTest = ShardServerTestFixture;
TEST_F(DeleteStateTest, MakeDeleteStateUnsharded) {
AutoGetCollection autoColl(operationContext(), kTestNss, MODE_IX);
- auto* const css = CollectionShardingRuntime::get(operationContext(), kTestNss);
auto doc = BSON("key3"
<< "abc"