aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-03 00:54:19 +0200
committerFilippos Karapetis2014-12-03 00:54:19 +0200
commitdaeb1ea288ee8ae9742f0a0fa41aeaea8c41bc9e (patch)
tree1d04f018c6eee7c80aad31d72c294a0f2c71c3ed /engines/zvision/scripting
parent61f654e4eee90d761c06583a67dc9631db9d0d29 (diff)
downloadscummvm-rg350-daeb1ea288ee8ae9742f0a0fa41aeaea8c41bc9e.tar.gz
scummvm-rg350-daeb1ea288ee8ae9742f0a0fa41aeaea8c41bc9e.tar.bz2
scummvm-rg350-daeb1ea288ee8ae9742f0a0fa41aeaea8c41bc9e.zip
ZVISION: Silence some false positive warnings by MSVC
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r--engines/zvision/scripting/sidefx/music_node.cpp2
-rw-r--r--engines/zvision/scripting/sidefx/syncsound_node.cpp2
2 files changed, 2 insertions, 2 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();