From cc5998e863a3927356552bf48a60dd613916ea26 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 24 Jan 2015 10:11:51 +0100 Subject: [PATCH] Fixing compiler warnings. --- src/gui/qt/gametable/log/guilog.cpp | 4 ++-- src/net/common/clientstate.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/qt/gametable/log/guilog.cpp b/src/gui/qt/gametable/log/guilog.cpp index e55b56ad..611e3f69 100644 --- a/src/gui/qt/gametable/log/guilog.cpp +++ b/src/gui/qt/gametable/log/guilog.cpp @@ -290,12 +290,12 @@ void guiLog::logPlayerJoinedMsg(QString playerName) #endif } -void guiLog::logSpectatorLeftMsg(QString playerName, int wasKicked) +void guiLog::logSpectatorLeftMsg(QString /*playerName*/, int /*wasKicked*/) { // TODO } -void guiLog::logSpectatorJoinedMsg(QString playerName) +void guiLog::logSpectatorJoinedMsg(QString /*playerName*/) { // TODO } diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index ec159a50..143773b2 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1061,7 +1061,7 @@ ClientStateWaitEnterLogin::Exit(boost::shared_ptr client) } void -ClientStateWaitEnterLogin::InternalHandleAuthMsg(boost::shared_ptr client, const AuthMessage &authMsg) +ClientStateWaitEnterLogin::InternalHandleAuthMsg(boost::shared_ptr /*client*/, const AuthMessage &authMsg) { if (authMsg.messagetype() == AuthMessage::Type_ErrorMessage) { // Server reported an error.