From b21632c835a29a0813bae97a062401f7f96be8e8 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Fri, 20 Dec 2019 08:06:09 +0000 Subject: MUTATIONOFJB: Fix Unused Variable Compiler Warning --- engines/mutationofjb/widgets/gamewidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/mutationofjb/widgets/gamewidget.cpp b/engines/mutationofjb/widgets/gamewidget.cpp index 77375a7c5c..c574b94abd 100644 --- a/engines/mutationofjb/widgets/gamewidget.cpp +++ b/engines/mutationofjb/widgets/gamewidget.cpp @@ -144,7 +144,7 @@ void GameWidget::handleMapScene(const Common::Event &event) { const int16 y = event.mouse.y; int index = 0; - if (Bitmap *const bitmap = scene->findBitmap(x, y, &index)) { + if (scene->findBitmap(x, y, &index)) { Static *const stat = scene->getStatic(index); if (stat && stat->_active == 1) { game.startActionSection(ActionInfo::Walk, stat->_name); @@ -160,7 +160,7 @@ void GameWidget::handleMapScene(const Common::Event &event) { int index = 0; //bool found = false; - if (Bitmap *const bitmap = scene->findBitmap(x, y, &index)) { + if (scene->findBitmap(x, y, &index)) { Static *const stat = scene->getStatic(index); if (stat && stat->_active == 1) { Object *const object = scene->getObject(index); -- cgit v1.2.3