Skip to content
Snippets Groups Projects
Commit 355c91b7 authored by Gregory Wlodarek's avatar Gregory Wlodarek Committed by Evergreen Agent
Browse files

SERVER-45289 Fix uninitialized variable in the validate adaptor

(cherry picked from commit 9e27158084512a69c66421c951456dab9da768aa)
parent 766844f6
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment