diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/net/ea/loginhandler.h | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | manaplus-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/ea/loginhandler.h')
-rw-r--r-- | src/net/ea/loginhandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index bd527418b..eebe73ad5 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -45,14 +45,14 @@ class LoginHandler : public Net::LoginHandler ~LoginHandler(); - int supportedOptionalActions() const + int supportedOptionalActions() const A_WARN_UNUSED { return SetGenderOnRegister; } - virtual bool isRegistrationEnabled(); + virtual bool isRegistrationEnabled() A_WARN_UNUSED; virtual void getRegistrationDetails(); - virtual unsigned int getMaxPasswordLength() const + virtual unsigned int getMaxPasswordLength() const A_WARN_UNUSED { return 25; } virtual void loginAccount(LoginData *loginData); @@ -61,13 +61,13 @@ class LoginHandler : public Net::LoginHandler virtual void registerAccount(LoginData *loginData); - virtual Worlds getWorlds() const; + virtual Worlds getWorlds() const A_WARN_UNUSED; virtual void clearWorlds(); - virtual ServerInfo *getCharServer() = 0; + virtual ServerInfo *getCharServer() A_WARN_UNUSED = 0; - const Token &getToken() const + const Token &getToken() const A_WARN_UNUSED { return mToken; } virtual void logout(); |