aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormd52011-04-27 13:12:40 +0300
committermd52011-04-27 13:13:36 +0300
commitc06dd901420fa9aebfb14a26b47e241910a7778b (patch)
tree6530df73b84a283e479ddc49569f9757e05ea7d1
parentd28344bb55b836d477e02ad670fba3193dc17490 (diff)
downloadscummvm-rg350-c06dd901420fa9aebfb14a26b47e241910a7778b.tar.gz
scummvm-rg350-c06dd901420fa9aebfb14a26b47e241910a7778b.tar.bz2
scummvm-rg350-c06dd901420fa9aebfb14a26b47e241910a7778b.zip
SAGA: Removed unused variables
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
-rw-r--r--engines/saga/interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 0f84b09547..c3773b2cb2 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -2798,7 +2798,7 @@ void Interface::keyBoss() {
Rect rect;
ByteArray image;
int imageWidth, imageHeight;
- const byte *pal;
+ //const byte *pal;
PalEntry cPal[PAL_ENTRIES];
_vm->_gfx->showCursor(false);
@@ -2818,7 +2818,7 @@ void Interface::keyBoss() {
rect.setHeight(imageHeight);
_vm->_gfx->getCurrentPal(_mapSavedPal);
- pal = _vm->getImagePal(resourceData);
+ //pal = _vm->getImagePal(resourceData);
cPal[0].red = 0;
cPal[0].green = 0;