Core: Fix more warnings

This commit is contained in:
Vincent-Michael
2014-06-28 23:25:48 +02:00
parent a3e34f5621
commit 88a3344c49
2 changed files with 4 additions and 4 deletions

View File

@@ -174,13 +174,13 @@ namespace Trinity
template<class Check>
struct WorldObjectSearcher
{
uint32 i_mapTypeMask;
WorldObject*& i_object;
WorldObject const* _searcher;
WorldObject*& i_object;
uint32 i_mapTypeMask;
Check &i_check;
WorldObjectSearcher(WorldObject const* searcher, WorldObject* & result, Check& check, uint32 mapTypeMask = GRID_MAP_TYPE_MASK_ALL)
: i_mapTypeMask(mapTypeMask), _searcher(searcher), i_object(result), i_check(check) { }
: _searcher(searcher), i_object(result), i_check(check), i_mapTypeMask(mapTypeMask) { }
void Visit(GameObjectMapType &m);
void Visit(PlayerMapType &m);

View File

@@ -775,7 +775,7 @@ class spell_mage_ice_barrier : public SpellScriptLoader
{
PrepareAuraScript(spell_mage_ice_barrier_AuraScript);
void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated)
void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& canBeRecalculated)
{
canBeRecalculated = false;
if (Unit* caster = GetCaster())