From 09269c2e4c93c0b02bf8aac2ee7e2d2101f55999 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 12 Jan 2017 06:41:00 +0000 Subject: MADS: Fix Unused Private Variable Compiler Warning. --- engines/mads/screen.cpp | 2 +- engines/mads/screen.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/mads') diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp index 79d5256c1c..f5748116ad 100644 --- a/engines/mads/screen.cpp +++ b/engines/mads/screen.cpp @@ -155,7 +155,7 @@ void DirtyArea::setUISlot(const UISlot *slot) { /*------------------------------------------------------------------------*/ -DirtyAreas::DirtyAreas(MADSEngine *vm) : _vm(vm) { +DirtyAreas::DirtyAreas(MADSEngine *vm) /* : _vm(vm) */ { DirtyArea::_vm = vm; for (int i = 0; i < DIRTY_AREAS_SIZE; ++i) { diff --git a/engines/mads/screen.h b/engines/mads/screen.h index 15436942fe..92cd5bc0a2 100644 --- a/engines/mads/screen.h +++ b/engines/mads/screen.h @@ -96,8 +96,8 @@ public: }; class DirtyAreas : public Common::Array { -private: - MADSEngine *_vm; +//private: +// MADSEngine *_vm; public: DirtyAreas(MADSEngine *vm); -- cgit v1.2.3