aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;