aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobia Tesan2014-09-09 15:33:12 +0200
committerTobia Tesan2014-10-15 21:36:47 +0200
commit2fc69d770c7f80b0f6027dd66a8cf4be401b2853 (patch)
tree289f7978cf96437da6dfcd83f3e22c7e01c72ad5
parentc6930d9a64d6d61ece2f0b531ad93459d2730150 (diff)
downloadscummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.tar.gz
scummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.tar.bz2
scummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.zip
WINTERMUTE: Initialize tokenSomething vars in VideoSubtitler
MSVC complains otherwise.
-rw-r--r--engines/wintermute/video/video_subtitler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp
index 2117832fad..2bd728c797 100644
--- a/engines/wintermute/video/video_subtitler.cpp
+++ b/engines/wintermute/video/video_subtitler.cpp
@@ -96,9 +96,9 @@ bool VideoSubtitler::loadSubtitles(const Common::String &filename, const Common:
int start, end;
bool inToken;
- char *tokenStart;
- int tokenLength;
- int tokenPos;
+ char *tokenStart = 0;
+ int tokenLength = 0;
+ int tokenPos = 0;
int pos = 0;
int lineLength = 0;