Core: Fixed warnings

This commit is contained in:
vincent-michael
2017-05-28 16:56:33 +02:00
parent a0a158b5b8
commit e67beefe15
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ int GuardAI::Permissible(Creature const* creature)
return PERMIT_BASE_NO;
}
void GuardAI::UpdateAI(uint32 diff)
void GuardAI::UpdateAI(uint32 /*diff*/)
{
if (!UpdateVictim())
return;

View File

@@ -2060,7 +2060,7 @@ class gameobject_cage_trap : public GameObjectScript
public:
gameobject_cage_trap() : GameObjectScript("gameobject_cage_trap") { }
bool OnGossipHello(Player* player, GameObject* go) override
bool OnGossipHello(Player* /*player*/, GameObject* go) override
{
// Grid search for nearest live Creature of entry 23304 within 10 yards
if (Creature* pTrigger = go->FindNearestCreature(23304, 10.0f))