Fix warning when using -Wuninitialized

svn-id: r47633
This commit is contained in:
Max Horn 2010-01-28 09:37:50 +00:00
parent 23f9891749
commit f85c77d63e

View File

@ -344,6 +344,8 @@ Audio::AudioStream *Sound::makeMohawkWaveStream(Common::SeekableReadStream *stre
Cue_Chunk cue;
Data_Chunk data_chunk;
memset(&data_chunk, 0, sizeof(Data_Chunk));
if (stream->readUint32BE() == ID_MHWK) // MHWK tag again
debug(2, "Found Tag MHWK");
else