Core/Misc: Fix issues reported by static analysis

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

No files matched your search

-1
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);