summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-07-10 23:50:43 +0000
committerBenety Goh <benety@mongodb.com>2018-12-07 10:46:41 -0500
commit19cb92b33ae83fc8adb046232c3e5b2f53d2a564 (patch)
treea72890269f21c1608d01f9e8093eaf2952fc55e6 /src/mongo/s
parent32ca7344593a6c8e283f74295f36200fff889484 (diff)
downloadmongo-19cb92b33ae83fc8adb046232c3e5b2f53d2a564.tar.gz
SERVER-36060 Remove unused variable declarations
(cherry picked from commit ad0d0e46190ee408662f3874ba85ea0b0b3731c7)
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());