aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-08-18 13:54:20 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-08-18 13:54:20 +0200
commit9eb01d63bd4cd3c2c297db4bcf1899debba0ee49 (patch)
tree39adddffd1ceb6f3ff4e71ae63a78753db7e3d21 /src/server/scripts
parent7dbf68cbfc36a819f1e259128a71cc7ce0517540 (diff)
Core: Fix warnings
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
index b8f29f276ae..b93efe3b0f2 100644
--- a/src/server/scripts/Spells/spell_hunter.cpp
+++ b/src/server/scripts/Spells/spell_hunter.cpp
@@ -149,7 +149,6 @@ class spell_hun_ascpect_of_the_viper : public SpellScriptLoader
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
// Hunter T7 4P Bonus
- Unit* target = GetTarget();
if (GetTarget()->HasAura(SPELL_HUNTER_VIPER_ATTACK_SPEED))
GetTarget()->RemoveAurasDueToSpell(SPELL_HUNTER_VICIOUS_VIPER);
}