aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorD G Turner2017-01-12 06:41:00 +0000
committerD G Turner2017-01-12 06:41:00 +0000
commit09269c2e4c93c0b02bf8aac2ee7e2d2101f55999 (patch)
treee399953f0c0e8899e12bf7f093d86d5d56e19655 /engines/mads
parentf87bf8a7b721e92287b6f896d34b5025551e97d5 (diff)
downloadscummvm-rg350-09269c2e4c93c0b02bf8aac2ee7e2d2101f55999.tar.gz
scummvm-rg350-09269c2e4c93c0b02bf8aac2ee7e2d2101f55999.tar.bz2
scummvm-rg350-09269c2e4c93c0b02bf8aac2ee7e2d2101f55999.zip
MADS: Fix Unused Private Variable Compiler Warning.
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/screen.cpp2
-rw-r--r--engines/mads/screen.h4
2 files changed, 3 insertions, 3 deletions
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<DirtyArea> {
-private:
- MADSEngine *_vm;
+//private:
+// MADSEngine *_vm;
public:
DirtyAreas(MADSEngine *vm);