From: <sv...@op...> - 2024-12-11 21:14:02
|
Author: sagamusix Date: Wed Dec 11 22:13:48 2024 New Revision: 22518 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22518 Log: [Fix] SampleList::tooManySamples was not initialized. Modified: trunk/OpenMPT/soundlib/XMTools.h Modified: trunk/OpenMPT/soundlib/XMTools.h ============================================================================== --- trunk/OpenMPT/soundlib/XMTools.h Wed Dec 11 20:48:04 2024 (r22517) +++ trunk/OpenMPT/soundlib/XMTools.h Wed Dec 11 22:13:48 2024 (r22518) @@ -99,7 +99,7 @@ struct SampleList { std::vector<SAMPLEINDEX> samples; // The list of samples to write to the file - bool tooManySamples; // Does the source instrument contain more samples than what we can write? + bool tooManySamples = false; // Does the source instrument contain more samples than what we can write? }; // Convert OpenMPT's internal sample representation to an XMInstrument. |