mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
Fixed all unused-parameters warnings
issue #121 used clang-tidy to achieve this
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
return commandTable;
|
||||
}
|
||||
|
||||
static bool HandleSpectatorCommand(ChatHandler* handler, char const* args)
|
||||
static bool HandleSpectatorCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
handler->PSendSysMessage("Incorrect syntax.");
|
||||
handler->PSendSysMessage("Command has subcommands:");
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleSpectatorResetCommand(ChatHandler* handler, char const* args)
|
||||
static bool HandleSpectatorResetCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
Player* p = handler->GetSession()->GetPlayer();
|
||||
if (!p->IsSpectator())
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleSpectatorLeaveCommand(ChatHandler* handler, char const* args)
|
||||
static bool HandleSpectatorLeaveCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
if (!player->IsSpectator() || !player->FindMap() || !player->FindMap()->IsBattleArena())
|
||||
|
||||
Reference in New Issue
Block a user