Fixed all unused-parameters warnings

issue #121

used clang-tidy to achieve this
This commit is contained in:
Yehonal
2017-09-18 14:23:26 +02:00
parent aa87ec685b
commit 2b2e299ccc
229 changed files with 643 additions and 643 deletions

View File

@@ -4619,7 +4619,7 @@ bool Player::HasSpell(uint32 spell) const
return (itr != m_spells.end() && itr->second->State != PLAYERSPELL_REMOVED && itr->second->IsInSpec(m_activeSpec));
}
bool Player::HasTalent(uint32 spell, uint8 spec) const
bool Player::HasTalent(uint32 spell, uint8 /*spec*/) const
{
PlayerTalentMap::const_iterator itr = m_talents.find(spell);
return (itr != m_talents.end() && itr->second->State != PLAYERSPELL_REMOVED && itr->second->IsInSpec(m_activeSpec));
@@ -22658,7 +22658,7 @@ bool Player::IsVisibleGloballyFor(Player const* u) const
}
template<class T>
inline void UpdateVisibilityOf_helper(T* target, std::vector<Unit*>& /*v*/)
inline void UpdateVisibilityOf_helper(T* /*target*/, std::vector<Unit*>& /*v*/)
{
}