Core/Misc: Fix issues reported by static analysis

Properly fix Coverity defect ID 1227434
This commit is contained in:
jackpoz
2015-04-18 17:33:14 +02:00
parent d53d3c7b80
commit 5b5c0938da
2 changed files with 3 additions and 1 deletions

View File

@@ -14173,7 +14173,6 @@ void Unit::ProcDamageAndSpellFor(bool isVictim, Unit* target, uint32 procFlag, u
uint32 Id = i->aura->GetId();
AuraApplication* aurApp = i->aura->GetApplicationOfTarget(GetGUID());
ASSERT(aurApp);
bool prepare = i->aura->CallScriptPrepareProcHandlers(aurApp, eventInfo);