diff options
author | Max Horn | 2010-01-28 09:37:50 +0000 |
---|---|---|
committer | Max Horn | 2010-01-28 09:37:50 +0000 |
commit | f85c77d63ea85d62cb5bbf55fe71dd9c42e6924b (patch) | |
tree | 04d611da39a6914e07309794a566e0d6b3ed1cd9 | |
parent | 23f9891749b0f4ab736dd49109a79bf495b0cc58 (diff) | |
download | scummvm-rg350-f85c77d63ea85d62cb5bbf55fe71dd9c42e6924b.tar.gz scummvm-rg350-f85c77d63ea85d62cb5bbf55fe71dd9c42e6924b.tar.bz2 scummvm-rg350-f85c77d63ea85d62cb5bbf55fe71dd9c42e6924b.zip |
Fix warning when using -Wuninitialized
svn-id: r47633
-rw-r--r-- | engines/mohawk/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/sound.cpp b/engines/mohawk/sound.cpp index 97ad3e6c20..5a183d6117 100644 --- a/engines/mohawk/sound.cpp +++ b/engines/mohawk/sound.cpp @@ -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 |