chore: remove unused variables to silence compiler warnings (#483)
Some checks failed
core-build / build (push) Has been cancelled

This commit is contained in:
Stefano Borzì 2026-08-14 20:47:54 +02:00 committed by GitHub
parent 47ff0b5cfa
commit 84a25e6df8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -501,7 +501,7 @@ public:
instance->DoAction(ACTION_CHECK_RUNES);
}
if (uint32 cooldown = player->GetSpellCooldownDelay(SPELL_AQUAL_QUINTESSENCE))
if (player->GetSpellCooldownDelay(SPELL_AQUAL_QUINTESSENCE))
{
int32 cooldownredux = sConfigMgr->GetOption<int>("ProgressionSystem.60.MoltenCore.AqualEssenceCooldownReduction", 0);
player->ModifySpellCooldown(SPELL_AQUAL_QUINTESSENCE, -(cooldownredux * MINUTE * IN_MILLISECONDS));

View file

@ -255,7 +255,7 @@ public:
_scheduler.Schedule(5s, [this](TaskContext task)
{
if (Creature* shill = me->FindNearestCreature(NPC_SHILL_DINGER, 50.0f))
if (me->FindNearestCreature(NPC_SHILL_DINGER, 50.0f))
{
task.Repeat();
}
@ -279,7 +279,7 @@ public:
_scheduler.Schedule(5s, [this](TaskContext task)
{
if (Creature* prisioner = me->FindNearestCreature(NPC_CREST_KILLER, 50.0f))
if (me->FindNearestCreature(NPC_CREST_KILLER, 50.0f))
{
task.Repeat();
}