mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 19:43:48 +00:00
Fixed all unused-parameters warnings
issue #121 used clang-tidy to achieve this
This commit is contained in:
@@ -91,7 +91,7 @@ class boss_drakkari_colossus : public CreatureScript
|
||||
{
|
||||
}
|
||||
|
||||
void MoveInLineOfSight(Unit* who)
|
||||
void MoveInLineOfSight(Unit* /*who*/)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ class boss_drakkari_colossus : public CreatureScript
|
||||
}
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType, SpellSchoolMask)
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType, SpellSchoolMask)
|
||||
{
|
||||
if (damage >= me->GetHealth())
|
||||
damage = 0;
|
||||
|
||||
@@ -120,7 +120,7 @@ class boss_gal_darah : public CreatureScript
|
||||
summon->DespawnOrUnsummon(despawnTime);
|
||||
}
|
||||
|
||||
uint32 GetData(uint32 type) const
|
||||
uint32 GetData(uint32 /*type*/) const
|
||||
{
|
||||
return impaledList.size();
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class boss_moorabi : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_TRANSFORMATION, 12000);
|
||||
}
|
||||
|
||||
void SpellHitTarget(Unit* caster, const SpellInfo* spellInfo)
|
||||
void SpellHitTarget(Unit* /*caster*/, const SpellInfo* spellInfo)
|
||||
{
|
||||
if (spellInfo->Id == SPELL_TRANSFORMATION)
|
||||
{
|
||||
@@ -164,7 +164,7 @@ class spell_moorabi_mojo_frenzy : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_moorabi_mojo_frenzy_AuraScript);
|
||||
|
||||
void HandlePeriodic(AuraEffect const* aurEff)
|
||||
void HandlePeriodic(AuraEffect const* /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ class spell_sladran_grip_of_sladran : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_sladran_grip_of_sladran_AuraScript);
|
||||
|
||||
void HandlePeriodic(AuraEffect const* aurEff)
|
||||
void HandlePeriodic(AuraEffect const* /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
if (GetStackAmount() >= 5)
|
||||
|
||||
Reference in New Issue
Block a user