aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2011-10-09 11:28:37 +0200
committerTorbjörn Andersson2011-10-09 11:28:37 +0200
commit85d22158b88cf0c690a18ede95cd0501df61a13f (patch)
treeb2ee621824e7f02e3523eeb0734cab799a43a1d5 /engines
parentc4117412816369598f2d1b4d66c6e9f0df5e583d (diff)
downloadscummvm-rg350-85d22158b88cf0c690a18ede95cd0501df61a13f.tar.gz
scummvm-rg350-85d22158b88cf0c690a18ede95cd0501df61a13f.tar.bz2
scummvm-rg350-85d22158b88cf0c690a18ede95cd0501df61a13f.zip
M4: Silence GCC warning (one of several)
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/m4_views.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/m4/m4_views.cpp b/engines/m4/m4_views.cpp
index 78c409252b..1324526ab5 100644
--- a/engines/m4/m4_views.cpp
+++ b/engines/m4/m4_views.cpp
@@ -231,11 +231,9 @@ M4InterfaceView::M4InterfaceView(MadsM4Engine *vm):
_selected = false;
Common::SeekableReadStream *data = _vm->res()->get(INTERFACE_SERIES);
- RGB8 *palette;
-
_sprites = new SpriteAsset(_vm, data, data->size(), INTERFACE_SERIES);
- palette = _sprites->getPalette();
+ //RGB8 *palette = _sprites->getPalette();
//Palette.setPalette(palette, 0, _sprites->getColorCount());
_vm->res()->toss(INTERFACE_SERIES);