summaryrefslogtreecommitdiff
path: root/src/scripts/Spells/spell_druid.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-19 11:23:07 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-19 11:23:07 +0200
commit944cfd077eced571e3ac5752a377b5a0934b9ee6 (patch)
tree0d4b677783603d2da89b40a84658393488b025c3 /src/scripts/Spells/spell_druid.cpp
parent787a9238df0069ef7fe27f9b714036c97436483a (diff)
Cleaning unused variables
Diffstat (limited to 'src/scripts/Spells/spell_druid.cpp')
-rw-r--r--src/scripts/Spells/spell_druid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Spells/spell_druid.cpp b/src/scripts/Spells/spell_druid.cpp
index bb2f97d940..cea3cdf484 100644
--- a/src/scripts/Spells/spell_druid.cpp
+++ b/src/scripts/Spells/spell_druid.cpp
@@ -624,7 +624,7 @@ class spell_dru_lifebloom : public SpellScriptLoader
{
if (Unit* target = GetUnitOwner())
{
- if (AuraEffect const* aurEff = GetEffect(EFFECT_1))
+ if (GetEffect(EFFECT_1))
{
Unit* caster = GetCaster();
int32 healAmount = GetSpellInfo()->Effects[EFFECT_1].CalcValue(caster ? caster : target, 0, target) * dispelInfo->GetRemovedCharges();