Fixed all unused-parameters warnings

issue #121

used clang-tidy to achieve this
This commit is contained in:
Yehonal
2017-09-18 14:23:26 +02:00
parent aa87ec685b
commit 2b2e299ccc
229 changed files with 643 additions and 643 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ class npc_pet_dk_ghoul : public CreatureScript
{
npc_pet_dk_ghoulAI(Creature *c) : CombatAI(c) { }
void JustDied(Unit *who)
void JustDied(Unit * /*who*/)
{
if (me->IsGuardian() || me->IsSummon())
me->ToTempSummon()->UnSummon();
+1 -1
View File
@@ -506,7 +506,7 @@ public:
DoStartNoMovement(who);
}
void UpdateAI(uint32 diff)
void UpdateAI(uint32 /*diff*/)
{
if (!me->GetVictim())
return;