diff options
-rw-r--r-- | engines/zvision/scripting/sidefx/music_node.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/scripting/sidefx/syncsound_node.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/sound/zork_raw.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/scripting/sidefx/music_node.cpp b/engines/zvision/scripting/sidefx/music_node.cpp index e9baadb011..b1e16e71ef 100644 --- a/engines/zvision/scripting/sidefx/music_node.cpp +++ b/engines/zvision/scripting/sidefx/music_node.cpp @@ -49,7 +49,7 @@ MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool _pantrackPosition = 0; _sub = NULL; - Audio::RewindableAudioStream *audioStream; + Audio::RewindableAudioStream *audioStream = NULL; if (filename.contains(".wav")) { Common::File *file = new Common::File(); diff --git a/engines/zvision/scripting/sidefx/syncsound_node.cpp b/engines/zvision/scripting/sidefx/syncsound_node.cpp index 2bfdc349d1..39542675eb 100644 --- a/engines/zvision/scripting/sidefx/syncsound_node.cpp +++ b/engines/zvision/scripting/sidefx/syncsound_node.cpp @@ -41,7 +41,7 @@ SyncSoundNode::SyncSoundNode(ZVision *engine, uint32 key, Common::String &filena _syncto = syncto; _sub = NULL; - Audio::RewindableAudioStream *audioStream; + Audio::RewindableAudioStream *audioStream = NULL; if (filename.contains(".wav")) { Common::File *file = new Common::File(); diff --git a/engines/zvision/sound/zork_raw.cpp b/engines/zvision/sound/zork_raw.cpp index a0f660f65f..1581210c86 100644 --- a/engines/zvision/sound/zork_raw.cpp +++ b/engines/zvision/sound/zork_raw.cpp @@ -259,7 +259,7 @@ Audio::RewindableAudioStream *makeRawZorkStream(const Common::String &filePath, Common::String fileName = getFileName(filePath); fileName.toLowercase(); - SoundParams soundParams; + SoundParams soundParams = {}; if (engine->getGameId() == GID_NEMESIS) { for (int i = 0; i < 32; ++i) { |