Removed more warnings, mostly related to unused-variable

issue #121

We still have to work on unused-parameter
This commit is contained in:
Yehonal
2017-09-18 03:16:32 +02:00
parent cf627d8327
commit 5ec07ef31f
78 changed files with 190 additions and 213 deletions
-2
View File
@@ -2872,8 +2872,6 @@ void Spell::EffectEnchantItemPrismatic(SpellEffIndex effIndex)
if (!itemTarget)
return;
Player* p_caster = m_caster->ToPlayer();
uint32 enchant_id = m_spellInfo->Effects[effIndex].MiscValue;
if (!enchant_id)
return;