aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-01-06 22:24:52 +0000
committerEugene Sandulenko2010-01-06 22:24:52 +0000
commit413b4291b4902783659775c651ee5b874871b43c (patch)
treec637bfc6c2c642ba350938f61daedb6202904c9e
parent17feb75ae73826ee05a09e7d86d016ccef1c3ff8 (diff)
downloadscummvm-rg350-413b4291b4902783659775c651ee5b874871b43c.tar.gz
scummvm-rg350-413b4291b4902783659775c651ee5b874871b43c.tar.bz2
scummvm-rg350-413b4291b4902783659775c651ee5b874871b43c.zip
Fix warnings.
svn-id: r47101
-rw-r--r--engines/sci/console.cpp2
-rw-r--r--engines/sci/graphics/robot.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 9db6301816..05335d46ad 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -1030,7 +1030,7 @@ bool Console::cmdDrawRobot(int argc, const char **argv) {
return true;
}
- uint16 resourceId = atoi(argv[1]);
+ //uint16 resourceId = atoi(argv[1]);
_vm->_gamestate->_gui->drawRobot();
return true;
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp
index e1ba592e64..ef690388ab 100644
--- a/engines/sci/graphics/robot.cpp
+++ b/engines/sci/graphics/robot.cpp
@@ -58,7 +58,7 @@ void Robot::initData(GuiResourceId resourceId) {
void Robot::draw() {
byte *bitmapData = _resourceData + 0x48;
int x, y;
- int frame;
+ //int frame;
//for (frame = 0; frame < 30; frame++) {
for (y = 0; y < _height; y++) {