chore(Core/Common): delete macro UNUSED (#6119)

This commit is contained in:
Kargatum
2021-06-01 22:22:29 +07:00
committed by GitHub
parent 501f5e2702
commit d398c34c61
5 changed files with 6 additions and 8 deletions

View File

@@ -179,8 +179,8 @@ namespace lfg
void LFGGroupScript::OnRemoveMember(Group* group, ObjectGuid guid, RemoveMethod method, ObjectGuid kicker, char const* reason)
{
// used only with EXTRA_LOGS
UNUSED(kicker);
UNUSED(reason);
(void)kicker;
(void)reason;
if (!sLFGMgr->isOptionEnabled(LFG_OPTION_ENABLE_DUNGEON_FINDER | LFG_OPTION_ENABLE_RAID_BROWSER))
return;
@@ -280,7 +280,7 @@ namespace lfg
void LFGGroupScript::OnInviteMember(Group* group, ObjectGuid guid)
{
// used only with EXTRA_LOGS
UNUSED(guid);
(void)guid;
if (!sLFGMgr->isOptionEnabled(LFG_OPTION_ENABLE_DUNGEON_FINDER | LFG_OPTION_ENABLE_RAID_BROWSER))
return;