SCUMM: Remove some unused var warnings (see bug #3293800)

This commit is contained in:
Max Horn 2011-05-14 23:50:18 +02:00
parent efac5c42d7
commit 82343f6649
7 changed files with 57 additions and 68 deletions

View file

@ -36,7 +36,7 @@ namespace Scumm {
/* Start executing script 'script' with the given parameters */
void ScummEngine::runScript(int script, bool freezeResistant, bool recursive, int *lvarptr, int cycle) {
ScriptSlot *s;
byte *scriptPtr;
//byte *scriptPtr;
uint32 scriptOffs;
byte scriptType;
int slot;
@ -48,7 +48,8 @@ void ScummEngine::runScript(int script, bool freezeResistant, bool recursive, in
stopScript(script);
if (script < _numGlobalScripts) {
scriptPtr = getResourceAddress(rtScript, script);
// Call getResourceAddress to ensure the resource is loaded & its usage count reset
/*scriptPtr =*/ getResourceAddress(rtScript, script);
scriptOffs = _resourceHeaderSize;
scriptType = WIO_GLOBAL;