Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG-- branch : trunk
This commit is contained in:
@@ -6200,7 +6200,7 @@ void Spell::EffectBlock(uint32 /*i*/)
|
||||
unitTarget->ToPlayer()->SetCanBlock(true);
|
||||
}
|
||||
|
||||
void Spell::EffectLeap(uint32 i)
|
||||
void Spell::EffectLeap(uint32 /*i*/)
|
||||
{
|
||||
if (unitTarget->isInFlight())
|
||||
return;
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user