aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-12-21 05:57:36 +0000
committerTravis Howell2004-12-21 05:57:36 +0000
commite81daf78403c75eb6219dee53136df91132ef01a (patch)
tree18dfe40ee1c089d814256915b7c4977ec6def500 /scumm
parent4ecd5edab608eaf53614f94772349606393fb210 (diff)
downloadscummvm-rg350-e81daf78403c75eb6219dee53136df91132ef01a.tar.gz
scummvm-rg350-e81daf78403c75eb6219dee53136df91132ef01a.tar.bz2
scummvm-rg350-e81daf78403c75eb6219dee53136df91132ef01a.zip
Unused var
svn-id: r16235
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v72he.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index d155059c33..145324e3f2 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -533,13 +533,12 @@ void ScummEngine_v72he::copyScriptString(byte *dst) {
void ScummEngine_v72he::decodeScriptString(byte *dst, bool scriptString) {
int args[31];
- int num = 0, val;
- int len, id;
+ int num = 0, len, val;
byte chr, string[256];
memset(string, 0, sizeof(string));
val = getStackList(args, ARRAYSIZE(args));
- args[val] = id = pop();
+ args[val] = pop();
if (scriptString) {
addMessageToStack(_scriptPointer, string, sizeof(string));