summaryrefslogtreecommitdiff
path: root/src/net/ea/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/ea/network.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/net/ea/network.h')
-rw-r--r--src/net/ea/network.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h
index 4fbf0ebbe..8148fe63c 100644
--- a/src/net/ea/network.h
+++ b/src/net/ea/network.h
@@ -50,19 +50,19 @@ class Network
void disconnect();
- ServerInfo getServer() const
+ ServerInfo getServer() const A_WARN_UNUSED
{ return mServer; }
- int getState() const
+ int getState() const A_WARN_UNUSED
{ return mState; }
- const std::string &getError() const
+ const std::string &getError() const A_WARN_UNUSED
{ return mError; }
- bool isConnected() const
+ bool isConnected() const A_WARN_UNUSED
{ return mState == CONNECTED; }
- int getInSize() const
+ int getInSize() const A_WARN_UNUSED
{ return mInSize; }
void skip(int len);
@@ -86,7 +86,7 @@ class Network
void setError(const std::string &error);
- uint16_t readWord(const int pos) const;
+ uint16_t readWord(const int pos) const A_WARN_UNUSED;
bool realConnect();