aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2010-11-30 17:55:41 +0000
committerDavid Turner2010-11-30 17:55:41 +0000
commit3c55c9faf72804e2f2efca0d7b924e2b696e18e8 (patch)
treefa653f3f4e08229752e1624169e02d4a251181f3 /engines
parent6b79f5ffe903d0d71a7571f0ee765b1c2820545a (diff)
downloadscummvm-rg350-3c55c9faf72804e2f2efca0d7b924e2b696e18e8.tar.gz
scummvm-rg350-3c55c9faf72804e2f2efca0d7b924e2b696e18e8.tar.bz2
scummvm-rg350-3c55c9faf72804e2f2efca0d7b924e2b696e18e8.zip
MOHAWK: Fix for Valgrind uninit reads in Myst Script Parser.
svn-id: r54683
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/myst_scripts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 0e794cdb8f..b650ff6d2f 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -86,6 +86,7 @@ MystScriptParser::MystScriptParser(MohawkEngine_Myst *vm) : _vm(vm) {
_invokingResource = NULL;
_savedCardId = 0;
_savedCursorId = 0;
+ _tempVar = 0;
}
MystScriptParser::~MystScriptParser() {