SCI: removing warning for known uninitialized reads

svn-id: r50217
This commit is contained in:
Martin Kiewitz 2010-06-24 13:38:24 +00:00
parent a268d3462b
commit 4b2661c06a

View File

@ -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