summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-31 16:52:51 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-31 16:52:51 +0100
commit173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93 (patch)
treef22cc0530050584e430ede31481b34bff48b3e2f /src/Server.cpp
parentfixed bad merge (diff)
parentremoved unneccisary cast (diff)
downloadcuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.gz
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.bz2
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.lz
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.xz
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.zst
cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index a93be9a5b..7dedc3904 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -173,6 +173,7 @@ void cServer::ClientMovedToWorld(const cClientHandle * a_Client)
void cServer::PlayerCreated(const cPlayer * a_Player)
{
+ UNUSED(a_Player);
// To avoid deadlocks, the player count is not handled directly, but rather posted onto the tick thread
cCSLock Lock(m_CSPlayerCountDiff);
m_PlayerCountDiff += 1;
@@ -184,6 +185,7 @@ void cServer::PlayerCreated(const cPlayer * a_Player)
void cServer::PlayerDestroying(const cPlayer * a_Player)
{
+ UNUSED(a_Player);
// To avoid deadlocks, the player count is not handled directly, but rather posted onto the tick thread
cCSLock Lock(m_CSPlayerCountDiff);
m_PlayerCountDiff -= 1;
@@ -514,6 +516,7 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback & a_Output)
{
+ UNUSED(a_Split);
typedef std::pair<AString, AString> AStringPair;
typedef std::vector<AStringPair> AStringPairs;
@@ -525,6 +528,8 @@ void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback &
virtual bool Command(const AString & a_Command, const cPlugin * a_Plugin, const AString & a_Permission, const AString & a_HelpString) override
{
+ UNUSED(a_Plugin);
+ UNUSED(a_Permission);
if (!a_HelpString.empty())
{
m_Commands.push_back(AStringPair(a_Command, a_HelpString));