diff options
-rw-r--r-- | src/mongo/db/catalog/private/record_store_validate_adaptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/private/record_store_validate_adaptor.cpp b/src/mongo/db/catalog/private/record_store_validate_adaptor.cpp index ccbc0c96670..422a7e6d36c 100644 --- a/src/mongo/db/catalog/private/record_store_validate_adaptor.cpp +++ b/src/mongo/db/catalog/private/record_store_validate_adaptor.cpp @@ -190,7 +190,7 @@ void RecordStoreValidateAdaptor::traverseRecordStore(RecordStore* recordStore, auto dataSize = record->data.size(); dataSizeTotal += dataSize; - size_t validatedSize; + size_t validatedSize = 0; Status status = validate(record->id, record->data, &validatedSize); // Checks to ensure isInRecordIdOrder() is being used properly. |