mirror of https://github.com/AxioDL/amuse.git
AudioGroupSampleDirectory: Fix -Wmaybe-uninitialized with GCC9
This commit is contained in:
parent
2ec749e6c7
commit
454424b8b3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue