From 27e71f180509cde842d8af70671e91bee38c4585 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 8 Feb 2015 21:04:20 +0100 Subject: Core/Misc: Fix static analysis issues Fix some static analysis issues reported by Coverity --- src/server/scripts/Spells/spell_dk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index f28a51c8f75..9edf3f42b88 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -663,7 +663,7 @@ class spell_dk_festering_strike : public SpellScriptLoader { if (!sSpellMgr->GetSpellInfo(SPELL_DK_FROST_FEVER) || !sSpellMgr->GetSpellInfo(SPELL_DK_BLOOD_PLAGUE) || !sSpellMgr->GetSpellInfo(SPELL_DK_CHAINS_OF_ICE)) return false; - return false; + return true; } void HandleScriptEffect(SpellEffIndex /*effIndex*/) @@ -943,7 +943,7 @@ class spell_dk_raise_dead : public SpellScriptLoader { if (!spellInfo->GetEffect(EFFECT_0) || !sSpellMgr->GetSpellInfo(spellInfo->GetEffect(EFFECT_0)->CalcValue())) return false; - return false; + return true; } bool Load() override -- cgit v1.2.3