Fix warning

This commit is contained in:
WarmUpTill 2023-12-06 22:07:38 +01:00 committed by WarmUpTill
parent c85e556924
commit 57e4b1a3f1

View File

@ -265,8 +265,9 @@ void AdvSceneSwitcher::SetupMacroSegmentSelection(MacroSection type, int idx)
return;
}
MacroSegmentList *setList, *resetList1, *resetList2;
int *setIdx, *resetIdx1, *resetIdx2;
MacroSegmentList *setList = nullptr, *resetList1 = nullptr,
*resetList2 = nullptr;
int *setIdx = nullptr, *resetIdx1 = nullptr, *resetIdx2 = nullptr;
std::deque<std::shared_ptr<MacroSegment>> segements;
switch (type) {