AudioGroupSampleDirectory: Fix -Wmaybe-uninitialized with GCC9

This commit is contained in:
Luke Street 2021-03-01 18:36:37 -05:00
parent 2ec749e6c7
commit 454424b8b3
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ void AudioGroupSampleDirectory::_extractCompressed(SampleId id, const EntryData&
#endif
uint32_t numSamples = ent.getNumSamples();
atUint64 dataLen;
atUint64 dataLen = 0;
if (fmt == SampleFormat::DSP || fmt == SampleFormat::DSP_DRUM) {
DSPADPCMHeader header;
header.x0_num_samples = numSamples;