Core: Fix warnings

This commit is contained in:
Vincent-Michael
2013-06-18 16:51:56 +02:00
parent b6aadc6698
commit 09eea66ee1
2 changed files with 4 additions and 2 deletions
@@ -2126,6 +2126,8 @@ void GameObject::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* t
if (ActivateToQuest(target))
dynFlags |= GO_DYNFLAG_LO_SPARKLE;
break;
default:
break;
}
fieldBuffer << uint16(dynFlags);
@@ -1669,7 +1669,7 @@ class go_finklesteins_cauldron : public GameObjectScript
public:
go_finklesteins_cauldron() : GameObjectScript("go_finklesteins_cauldron") { }
bool OnGossipHello(Player* player, GameObject* go)
bool OnGossipHello(Player* player, GameObject* /*go*/)
{
player->CastSpell(player, SPELL_POT_CHECK);
return true;
@@ -1720,7 +1720,7 @@ class spell_random_ingredient_aura : public SpellScriptLoader
return true;
}
void PeriodicTick(AuraEffect const* aurEff)
void PeriodicTick(AuraEffect const* /*aurEff*/)
{
switch (GetSpellInfo()->Id)
{