aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authormd52011-04-10 05:45:25 +0300
committermd52011-04-10 14:27:45 +0300
commitd2d6c9e2ba934a600ad6061328cac982fa5e3f64 (patch)
treeea10529a9da5f5a301caf836efe8353a441964e3 /engines/mohawk
parentb48e3a83bb16ba8bf77b8d684074960894797917 (diff)
downloadscummvm-rg350-d2d6c9e2ba934a600ad6061328cac982fa5e3f64.tar.gz
scummvm-rg350-d2d6c9e2ba934a600ad6061328cac982fa5e3f64.tar.bz2
scummvm-rg350-d2d6c9e2ba934a600ad6061328cac982fa5e3f64.zip
MOHAWK: Silenced an MSVC waning about an uninitialized var (false positive)
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/livingbooks_code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp
index 86adfd6b46..756d881365 100644
--- a/engines/mohawk/livingbooks_code.cpp
+++ b/engines/mohawk/livingbooks_code.cpp
@@ -317,7 +317,7 @@ void LBCode::parseComparisons() {
error("comparison didn't get enough values");
LBValue val2 = _stack.pop();
LBValue val1 = _stack.pop();
- bool result;
+ bool result = false;
// FIXME: should work for non-integers!!
switch (comparison) {
case kTokenEquals: