Fixing compiler warnings.

This commit is contained in:
lotodore
2015-01-24 10:11:51 +01:00
parent 374048c5cd
commit cc5998e863
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -290,12 +290,12 @@ void guiLog::logPlayerJoinedMsg(QString playerName)
#endif #endif
} }
void guiLog::logSpectatorLeftMsg(QString playerName, int wasKicked) void guiLog::logSpectatorLeftMsg(QString /*playerName*/, int /*wasKicked*/)
{ {
// TODO // TODO
} }
void guiLog::logSpectatorJoinedMsg(QString playerName) void guiLog::logSpectatorJoinedMsg(QString /*playerName*/)
{ {
// TODO // TODO
} }
+1 -1
View File
@@ -1061,7 +1061,7 @@ ClientStateWaitEnterLogin::Exit(boost::shared_ptr<ClientThread> client)
} }
void void
ClientStateWaitEnterLogin::InternalHandleAuthMsg(boost::shared_ptr<ClientThread> client, const AuthMessage &authMsg) ClientStateWaitEnterLogin::InternalHandleAuthMsg(boost::shared_ptr<ClientThread> /*client*/, const AuthMessage &authMsg)
{ {
if (authMsg.messagetype() == AuthMessage::Type_ErrorMessage) { if (authMsg.messagetype() == AuthMessage::Type_ErrorMessage) {
// Server reported an error. // Server reported an error.