diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 03:16:32 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 03:16:32 +0200 |
commit | 5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c (patch) | |
tree | 6b2126773aea642162afaeaa6db99103d55184ef /src/scripts/Commands/cs_server.cpp | |
parent | cf627d832717c990b02da5e5ba06b4f218079321 (diff) |
Removed more warnings, mostly related to unused-variable
issue #121
We still have to work on unused-parameter
Diffstat (limited to 'src/scripts/Commands/cs_server.cpp')
-rw-r--r-- | src/scripts/Commands/cs_server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |