summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.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/loginhandler.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmanaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/net/tmwa/loginhandler.h')
-rw-r--r--src/net/tmwa/loginhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h
index 67afbee09..1a78fbb59 100644
--- a/src/net/tmwa/loginhandler.h
+++ b/src/net/tmwa/loginhandler.h
@@ -49,21 +49,21 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
void connect();
- bool isConnected();
+ bool isConnected() A_WARN_UNUSED;
void disconnect();
- int supportedOptionalActions() const
+ int supportedOptionalActions() const A_WARN_UNUSED
{ return SetGenderOnRegister; }
- unsigned int getMaxPasswordLength() const
+ unsigned int getMaxPasswordLength() const A_WARN_UNUSED
{ return 25; }
void changePassword(const std::string &username,
const std::string &oldPassword,
const std::string &newPassword);
- ServerInfo *getCharServer();
+ ServerInfo *getCharServer() A_WARN_UNUSED;
void processServerVersion(Net::MessageIn &msg);