diff options
author | Benety Goh <benety@mongodb.com> | 2019-05-30 14:15:37 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-05-30 14:15:37 -0400 |
commit | a7d8870e79638583d585ac82ef0c35cd75d9fab7 (patch) | |
tree | 03b0f58bbff10dc774ef160732baaa9ae5176b30 | |
parent | ae44f7bf27b002e8c6b82205b652114c13db5857 (diff) | |
download | mongo-a7d8870e79638583d585ac82ef0c35cd75d9fab7.tar.gz |
SERVER-41113 fix windows compile
-rw-r--r-- | src/mongo/db/repl/transaction_oplog_application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/transaction_oplog_application.cpp b/src/mongo/db/repl/transaction_oplog_application.cpp index 586aad3cb39..221971de7da 100644 --- a/src/mongo/db/repl/transaction_oplog_application.cpp +++ b/src/mongo/db/repl/transaction_oplog_application.cpp @@ -70,7 +70,7 @@ Status _applyOperationsForTransaction(OperationContext* opCtx, if (!status.isOK()) { return status; } - } catch (const ExceptionFor<ErrorCodes::NamespaceNotFound>& ex) { + } catch (const ExceptionFor<ErrorCodes::NamespaceNotFound>&) { if (oplogApplicationMode != repl::OplogApplication::Mode::kInitialSync && oplogApplicationMode != repl::OplogApplication::Mode::kRecovering) throw; |