From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/net/ea/network.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/net/ea/network.h') 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(); -- cgit v1.2.3-60-g2f50