aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2011-06-19 18:23:35 +0200
committerJohannes Schickel2011-06-19 18:23:35 +0200
commit01c22ea1602a41b5f13b691e9140d63b5300da80 (patch)
treeef5c09a48f72c5accdfd1704249e3a59a3ad5e37
parent85e4e2933adcb3c9472b7a7095bb7b481a973fa0 (diff)
downloadscummvm-rg350-01c22ea1602a41b5f13b691e9140d63b5300da80.tar.gz
scummvm-rg350-01c22ea1602a41b5f13b691e9140d63b5300da80.tar.bz2
scummvm-rg350-01c22ea1602a41b5f13b691e9140d63b5300da80.zip
TEENAGENT: Get rid of unused variable.
-rw-r--r--engines/teenagent/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/animation.cpp b/engines/teenagent/animation.cpp
index af54bca6a4..e945bda1e5 100644
--- a/engines/teenagent/animation.cpp
+++ b/engines/teenagent/animation.cpp
@@ -115,7 +115,7 @@ void Animation::load(Common::SeekableReadStream *s, Type type) {
return;
}
- uint16 pos = 0;
+ //uint16 pos = 0;
int off = 0;
switch (type) {
case kTypeLan:
@@ -141,7 +141,7 @@ void Animation::load(Common::SeekableReadStream *s, Type type) {
frames = new Surface[frames_count];
s->skip(frames_count * 2 - 2); //sizes
- pos = s->readUint16LE();
+ /*pos = */s->readUint16LE();
//debug(0, "pos?: %04x", pos);
for (uint16 i = 0; i < frames_count; ++i) {