mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-11 03:30:33 +00:00
Fixed all unused-parameters warnings
issue #121 used clang-tidy to achieve this
This commit is contained in:
@@ -314,7 +314,7 @@ public:
|
||||
InstanceScript* pInstance;
|
||||
uint32 uiRangeCheck_Timer;
|
||||
|
||||
void SpellHit(Unit* caster, const SpellInfo* spell)
|
||||
void SpellHit(Unit* /*caster*/, const SpellInfo* spell)
|
||||
{
|
||||
if (spell->Id == SPELL_CREATE_GLOBULE_VISUAL)
|
||||
me->CastSpell(me, SPELL_WATER_GLOBULE, true);
|
||||
|
||||
@@ -634,7 +634,7 @@ public:
|
||||
events.RescheduleEvent(EVENT_CHECK_PLAYERS, CLEANUP_CHECK_INTERVAL);
|
||||
}
|
||||
|
||||
bool CheckAchievementCriteriaMeet(uint32 criteria_id, Player const* source, Unit const* target = NULL, uint32 miscvalue1 = 0)
|
||||
bool CheckAchievementCriteriaMeet(uint32 criteria_id, Player const* /*source*/, Unit const* /*target*/, uint32 /*miscvalue1*/)
|
||||
{
|
||||
switch(criteria_id)
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ class go_vh_activation_crystal : public GameObjectScript
|
||||
public:
|
||||
go_vh_activation_crystal() : GameObjectScript("go_vh_activation_crystal") { }
|
||||
|
||||
bool OnGossipHello(Player* pPlayer, GameObject* pGo)
|
||||
bool OnGossipHello(Player* /*pPlayer*/, GameObject* pGo)
|
||||
{
|
||||
if (InstanceScript* pInstance = pGo->GetInstanceScript())
|
||||
pInstance->SetData(DATA_ACTIVATE_DEFENSE_SYSTEM, 1);
|
||||
@@ -1119,7 +1119,7 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_destroy_door_sealAuraScript)
|
||||
|
||||
void HandleEffectPeriodic(AuraEffect const * aurEff)
|
||||
void HandleEffectPeriodic(AuraEffect const * /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
if (Unit* target = GetTarget())
|
||||
|
||||
Reference in New Issue
Block a user