aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v70he.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-14 23:50:18 +0200
committerMax Horn2011-05-14 23:50:43 +0200
commit82343f6649fed0a8b315e31c8b5177e4840b76e4 (patch)
treecb05cc97f12ce19bfd67aef9cc2cce7cdff9fa53 /engines/scumm/he/script_v70he.cpp
parentefac5c42d7d6ec91440e7c03e8205ce474e5437d (diff)
downloadscummvm-rg350-82343f6649fed0a8b315e31c8b5177e4840b76e4.tar.gz
scummvm-rg350-82343f6649fed0a8b315e31c8b5177e4840b76e4.tar.bz2
scummvm-rg350-82343f6649fed0a8b315e31c8b5177e4840b76e4.zip
SCUMM: Remove some unused var warnings (see bug #3293800)
Diffstat (limited to 'engines/scumm/he/script_v70he.cpp')
-rw-r--r--engines/scumm/he/script_v70he.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v70he.cpp b/engines/scumm/he/script_v70he.cpp
index 684ccff3ec..adb2fcac2e 100644
--- a/engines/scumm/he/script_v70he.cpp
+++ b/engines/scumm/he/script_v70he.cpp
@@ -361,10 +361,10 @@ void ScummEngine_v70he::o70_getStringLen() {
void ScummEngine_v70he::o70_isResourceLoaded() {
// Reports percentage of resource loaded by queue
- int type;
+ ResType type;
byte subOp = fetchScriptByte();
- /* int idx = */ pop();
+ int idx = pop();
switch (subOp) {
case 18:
@@ -385,6 +385,7 @@ void ScummEngine_v70he::o70_isResourceLoaded() {
default:
error("o70_isResourceLoaded: default case %d", subOp);
}
+ debug(7, "o70_isResourceLoaded(%d,%d)", type, idx);
push(100);
}