aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorD G Turner2019-12-20 08:06:09 +0000
committerD G Turner2019-12-20 08:06:09 +0000
commitb21632c835a29a0813bae97a062401f7f96be8e8 (patch)
tree96dd87eecf6538c0d44f3ffe8e7ab5b2f5251bbf /engines
parentb37c52a07a484c894c326cbacfb4b6078e469706 (diff)
downloadscummvm-rg350-b21632c835a29a0813bae97a062401f7f96be8e8.tar.gz
scummvm-rg350-b21632c835a29a0813bae97a062401f7f96be8e8.tar.bz2
scummvm-rg350-b21632c835a29a0813bae97a062401f7f96be8e8.zip
MUTATIONOFJB: Fix Unused Variable Compiler Warning
Diffstat (limited to 'engines')
-rw-r--r--engines/mutationofjb/widgets/gamewidget.cpp4
1 files changed, 2 insertions, 2 deletions
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);