Skip to content

Commit

Permalink
ZVISION: Silence some false positive warnings by MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 2, 2014
1 parent 61f654e commit daeb1ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/zvision/scripting/sidefx/music_node.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion engines/zvision/scripting/sidefx/syncsound_node.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion engines/zvision/sound/zork_raw.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit daeb1ea

Please sign in to comment.