aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-02-08 21:04:20 +0100
committerjackpoz <giacomopoz@gmail.com>2015-02-08 21:04:20 +0100
commit27e71f180509cde842d8af70671e91bee38c4585 (patch)
tree6fd8af581c6896b85f7d7d5e2a50b504c2fc895d /src/server/scripts/Spells
parentbbce7d03428a15e36328879f71b9089aaabbb98c (diff)
Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp4
1 files changed, 2 insertions, 2 deletions
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