summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/operation_context_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/operation_context_test.cpp b/src/mongo/db/operation_context_test.cpp
index 02891cfa151..524e19d47e0 100644
--- a/src/mongo/db/operation_context_test.cpp
+++ b/src/mongo/db/operation_context_test.cpp
@@ -490,7 +490,7 @@ TEST_F(OperationDeadlineTests, DeadlineAfterIgnoreInterruptsReopens) {
opCtx->checkForInterrupt();
});
- } catch (const ExceptionFor<ErrorCodes::ExceededTimeLimit>& ex) {
+ } catch (const ExceptionFor<ErrorCodes::ExceededTimeLimit>&) {
reachedC = true;
}