summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/catalog/replset_dist_lock_manager_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/catalog/replset_dist_lock_manager_test.cpp b/src/mongo/s/catalog/replset_dist_lock_manager_test.cpp
index b9b928f3c3a..de92b155241 100644
--- a/src/mongo/s/catalog/replset_dist_lock_manager_test.cpp
+++ b/src/mongo/s/catalog/replset_dist_lock_manager_test.cpp
@@ -1392,7 +1392,6 @@ TEST_F(ReplSetDistLockManagerFixture, CannotOvertakeIfOwnerJustChanged) {
currentLockDoc.setWho("me");
currentLockDoc.setWhy("why");
- Date_t currentPing;
LockpingsType pingDoc;
pingDoc.setProcess("otherProcess");
pingDoc.setPing(Date_t());
@@ -1490,7 +1489,6 @@ TEST_F(ReplSetDistLockManagerFixture, CannotOvertakeIfElectionIdChanged) {
currentLockDoc.setWho("me");
currentLockDoc.setWhy("why");
- Date_t currentPing;
LockpingsType pingDoc;
pingDoc.setProcess("otherProcess");
pingDoc.setPing(Date_t());
@@ -1590,7 +1588,6 @@ TEST_F(ReplSetDistLockManagerFixture, CannotOvertakeIfNoMaster) {
currentLockDoc.setWho("me");
currentLockDoc.setWhy("why");
- Date_t currentPing;
LockpingsType pingDoc;
pingDoc.setProcess("otherProcess");
pingDoc.setPing(Date_t());