summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
index ef179985bfe..9203972b62c 100644
--- a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
+++ b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp
@@ -846,7 +846,7 @@ private:
UniqueIndexData _indexData;
UniqueIndexData::const_iterator _indexDataIt;
UniqueIndexData::const_iterator _indexDataEnd;
- size_t _reversePos;
+ size_t _reversePos = 0;
};
bool CursorUnique::advanceNextInternal() {