mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
Fixed all unused-parameters warnings
issue #121 used clang-tidy to achieve this
This commit is contained in:
@@ -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*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user