From 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 01:19:46 +0300 Subject: Add unused warnings to some files. --- src/game.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index 001c7c348..59fa68012 100644 --- a/src/game.h +++ b/src/game.h @@ -67,7 +67,7 @@ class Game final /** * Provides access to the game instance. */ - static Game *instance() + static Game *instance() A_WARN_UNUSED { return mInstance; } static void clearInstance() @@ -92,10 +92,10 @@ class Game final /** * Returns the currently active map. */ - Map *getCurrentMap() const + Map *getCurrentMap() const A_WARN_UNUSED { return mCurrentMap; } - const std::string &getCurrentMapName() const + const std::string &getCurrentMapName() const A_WARN_UNUSED { return mMapName; } void setValidSpeed(); @@ -111,7 +111,7 @@ class Game final void videoResized(const int width, const int height) const; - bool getValidSpeed() const + bool getValidSpeed() const A_WARN_UNUSED { return mValidSpeed; } static bool createScreenshot(); @@ -125,11 +125,8 @@ class Game final void clearKeysArray(); - int mLastTarget; -// WindowMenu *mWindowMenu; - Map *mCurrentMap; std::string mMapName; bool mValidSpeed; -- cgit v1.2.3-70-g09d2