summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/socialwindow.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmanaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/socialwindow.h')
-rw-r--r--src/gui/socialwindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/socialwindow.h b/src/gui/socialwindow.h
index 06d00b9f0..20e4861d0 100644
--- a/src/gui/socialwindow.h
+++ b/src/gui/socialwindow.h
@@ -93,7 +93,7 @@ public:
void updatePortalNames();
- int getPortalIndex(const int x, const int y);
+ int getPortalIndex(const int x, const int y) A_WARN_UNUSED;
void addPortal(const int x, const int y);
@@ -103,13 +103,13 @@ public:
void prevTab();
- Map* getMap() const
+ Map* getMap() const A_WARN_UNUSED
{ return mMap; }
void setMap(Map *const map)
{ mMap = map; mProcessedPortals = false; }
- bool getProcessedPortals() const
+ bool getProcessedPortals() const A_WARN_UNUSED
{ return mProcessedPortals; }
void setProcessedPortals(const bool n)