[Scummvm-git-logs] scummvm master -> d4aa50ff17b3473aafce9c7d54cd2c38a924a17d

digitall 547637+digitall at users.noreply.github.com
Thu Oct 3 07:26:02 CEST 2019


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:
d4aa50ff17 MUTATIONOFJB: Remove Unused Private Member Field


Commit: d4aa50ff17b3473aafce9c7d54cd2c38a924a17d
    https://github.com/scummvm/scummvm/commit/d4aa50ff17b3473aafce9c7d54cd2c38a924a17d
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-03T06:22:53+01:00

Commit Message:
MUTATIONOFJB: Remove Unused Private Member Field

This was causing a GCC Compiler Warning when -Wunused-private-field is
set.

Changed paths:
    engines/mutationofjb/assets.cpp
    engines/mutationofjb/assets.h


diff --git a/engines/mutationofjb/assets.cpp b/engines/mutationofjb/assets.cpp
index 02e0c85..a8181a8 100644
--- a/engines/mutationofjb/assets.cpp
+++ b/engines/mutationofjb/assets.cpp
@@ -24,7 +24,7 @@
 
 namespace MutationOfJB {
 
-Assets::Assets(Game &game) : _game(game), _toSayList("tosay.ger"), _responseList("response.ger"), _hardcodedStrings(game) {}
+Assets::Assets(Game &game) : _toSayList("tosay.ger"), _responseList("response.ger"), _hardcodedStrings(game) {}
 
 Font &Assets::getSystemFont() {
 	return _systemFont;
diff --git a/engines/mutationofjb/assets.h b/engines/mutationofjb/assets.h
index 6d9858e..d9e9271 100644
--- a/engines/mutationofjb/assets.h
+++ b/engines/mutationofjb/assets.h
@@ -67,7 +67,6 @@ public:
 	 */
 	HardcodedStrings &getHardcodedStrings();
 private:
-	Game &_game;
 	SystemFont _systemFont;
 	SpeechFont _speechFont;
 	ConversationLineList _toSayList;





More information about the Scummvm-git-logs mailing list