diff options
author | Spp <none@none> | 2010-08-21 23:08:54 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-08-21 23:08:54 +0200 |
commit | 572f7bbd1dc67a6df6503ec4f828a64842d02cdc (patch) | |
tree | 60cc6e5495dfa29d751059755bccf20aecc9ad44 /src/server/game/Spells/SpellMgr.cpp | |
parent | a136403deed39dc7d8523fc7117a070b238992f9 (diff) |
Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index c0c2632e7e7..804d939eeb1 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -1826,7 +1826,7 @@ bool SpellMgr::IsSkillTypeSpell(uint32 spellId, SkillType type) const } // basepoints provided here have to be valid basepoints (use SpellMgr::CalculateSpellEffectBaseAmount) -int32 SpellMgr::CalculateSpellEffectAmount(SpellEntry const * spellEntry, uint8 effIndex, Unit const * caster, int32 const * effBasePoints, Unit const * target) +int32 SpellMgr::CalculateSpellEffectAmount(SpellEntry const * spellEntry, uint8 effIndex, Unit const * caster, int32 const * effBasePoints, Unit const * /*target*/) { float basePointsPerLevel = spellEntry->EffectRealPointsPerLevel[effIndex]; int32 basePoints = effBasePoints ? *effBasePoints : spellEntry->EffectBasePoints[effIndex]; |