[Scummvm-git-logs] scummvm master -> 09269c2e4c93c0b02bf8aac2ee7e2d2101f55999

digitall dgturner at iee.org
Thu Jan 12 07:34:25 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
09269c2e4c MADS: Fix Unused Private Variable Compiler Warning.


Commit: 09269c2e4c93c0b02bf8aac2ee7e2d2101f55999
    https://github.com/scummvm/scummvm/commit/09269c2e4c93c0b02bf8aac2ee7e2d2101f55999
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-12T06:41:00Z

Commit Message:
MADS: Fix Unused Private Variable Compiler Warning.

Changed paths:
    engines/mads/screen.cpp
    engines/mads/screen.h


diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 79d5256..f574811 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 1543694..92cd5bc 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);
 





More information about the Scummvm-git-logs mailing list