From 5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 18 Sep 2017 03:16:32 +0200 Subject: Removed more warnings, mostly related to unused-variable issue #121 We still have to work on unused-parameter --- src/scripts/Commands/cs_server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scripts/Commands/cs_server.cpp') diff --git a/src/scripts/Commands/cs_server.cpp b/src/scripts/Commands/cs_server.cpp index c725bcffed..a0055f594a 100644 --- a/src/scripts/Commands/cs_server.cpp +++ b/src/scripts/Commands/cs_server.cpp @@ -104,7 +104,7 @@ public: handler->PSendSysMessage("Connected players: %u. Characters in world: %u.", activeSessionCount, playerCount); else handler->PSendSysMessage("Connected players: %u. Characters in world: %u. Queue: %u.", activeSessionCount, playerCount, queuedSessionCount); - //handler->PSendSysMessage("Connection peak: %u.", connPeak); + handler->PSendSysMessage("Connection peak: %u.", connPeak); handler->PSendSysMessage(LANG_UPTIME, uptime.c_str()); handler->PSendSysMessage("Update time diff: %ums, average: %ums.", updateTime, avgUpdateTime); @@ -126,14 +126,14 @@ public: return true; } - static bool HandleServerShutDownCancelCommand(ChatHandler* handler, char const* /*args*/) + static bool HandleServerShutDownCancelCommand(ChatHandler* /*handler*/, char const* /*args*/) { sWorld->ShutdownCancel(); return true; } - static bool HandleServerShutDownCommand(ChatHandler* handler, char const* args) + static bool HandleServerShutDownCommand(ChatHandler* /*handler*/, char const* args) { if (!*args) return false; @@ -169,7 +169,7 @@ public: return true; } - static bool HandleServerRestartCommand(ChatHandler* handler, char const* args) + static bool HandleServerRestartCommand(ChatHandler* /*handler*/, char const* args) { if (!*args) return false; -- cgit v1.2.3