diff options
author | Randolph Tan <randolph@10gen.com> | 2021-10-11 15:55:07 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-25 19:41:46 +0000 |
commit | a5f9db790c87bd9bab410ee7d8daaa2b938c1d6f (patch) | |
tree | c2205db75c061260a99244a09aa7d9713a5771cf | |
parent | 075ed1ea34178e3328620e942941e43e85b5b567 (diff) | |
download | mongo-a5f9db790c87bd9bab410ee7d8daaa2b938c1d6f.tar.gz |
SERVER-58915 Remove unused variables
(cherry picked from commit 618eef6522349a1502b95727313b7967ca6f199a)
-rw-r--r-- | src/mongo/db/op_observer_impl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp index 358be5cf68e..6efe1aa6b7d 100644 --- a/src/mongo/db/op_observer_impl.cpp +++ b/src/mongo/db/op_observer_impl.cpp @@ -719,8 +719,6 @@ void OpObserverImpl::aboutToDelete(OperationContext* opCtx, BSONObj const& doc) { documentKeyDecoration(opCtx).emplace(getDocumentKey(opCtx, nss, doc)); - auto* const css = CollectionShardingState::get(opCtx, nss); - auto collDesc = css->getCollectionDescription(opCtx); ShardingWriteRouter shardingWriteRouter(opCtx, nss, Grid::get(opCtx)->catalogCache()); repl::DurableReplOperation op; |