summaryrefslogtreecommitdiff
path: root/src/net/tmwa/network.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/net/tmwa/network.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmanaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/net/tmwa/network.h')
-rw-r--r--src/net/tmwa/network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index 90c48eb19..79b140430 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -61,14 +61,14 @@ class Network final : public Ea::Network
bool messageReady();
- MessageIn *getNextMessage();
+ MessageIn *getNextMessage() A_WARN_UNUSED;
void dispatchMessages();
protected:
friend class MessageOut;
- static Network *instance();
+ static Network *instance() A_WARN_UNUSED;
typedef std::map<uint16_t, MessageHandler*> MessageHandlers;
typedef MessageHandlers::iterator MessageHandlerIterator;