aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-24 13:38:24 +0000
committerMartin Kiewitz2010-06-24 13:38:24 +0000
commit4b2661c06a77d36fe6e22fc9d55ab6a93b946675 (patch)
treedb9979140f18c151d3e1a03d2ad81175e617779a /engines/sci
parenta268d3462b361588f60fba81e37d9bf5f048ccbc (diff)
downloadscummvm-rg350-4b2661c06a77d36fe6e22fc9d55ab6a93b946675.tar.gz
scummvm-rg350-4b2661c06a77d36fe6e22fc9d55ab6a93b946675.tar.bz2
scummvm-rg350-4b2661c06a77d36fe6e22fc9d55ab6a93b946675.zip
SCI: removing warning for known uninitialized reads
svn-id: r50217
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 7bf63e27a3..a1e354f092 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -212,8 +212,6 @@ static reg_t validate_read_var(reg_t *r, reg_t *stack_base, int type, int max, i
if (call.type == EXEC_STACK_TYPE_CALL) {
curMethodName = g_sci->getKernel()->getSelectorName(call.selector).c_str();
}
- warning("uninitialized read for temp %d from method %s::%s (script %d)", index, curObjectName, curMethodName, curScriptNr);
-
const char *gameId = g_sci->getGameId().c_str();
// Search if this is a known uninitialized read
@@ -234,7 +232,7 @@ static reg_t validate_read_var(reg_t *r, reg_t *stack_base, int type, int max, i
}
workaround++;
}
- error("unknown uninitialized read!");
+ error("uninitialized read for temp %d from method %s::%s (script %d)", index, curObjectName, curMethodName, curScriptNr);
}
return r[index];
} else