mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
SCI: removing warning for known uninitialized reads
svn-id: r50217
This commit is contained in:
parent
a268d3462b
commit
4b2661c06a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user