Core: Fix warnings
--HG-- branch : trunk
This commit is contained in:
@@ -721,13 +721,13 @@ class debug_commandscript : public CommandScript
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleDebugBattlegroundCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleDebugBattlegroundCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
{
|
||||
sBattlegroundMgr.ToggleTesting();
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleDebugArenaCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleDebugArenaCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
{
|
||||
sBattlegroundMgr.ToggleArenaTesting();
|
||||
return true;
|
||||
|
||||
@@ -1271,7 +1271,7 @@ class npc_commandscript : public CommandScript
|
||||
}
|
||||
|
||||
//TODO: NpcCommands that needs to be fixed :
|
||||
static bool HandleNpcAddWeaponCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleNpcAddWeaponCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
{
|
||||
/*if (!*args)
|
||||
return false;
|
||||
@@ -1339,7 +1339,7 @@ class npc_commandscript : public CommandScript
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleNpcSetNameCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleNpcSetNameCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
{
|
||||
/* Temp. disabled
|
||||
if (!*args)
|
||||
@@ -1386,7 +1386,7 @@ class npc_commandscript : public CommandScript
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleNpcSetSubNameCommand(ChatHandler* handler, const char* /*args*/)
|
||||
static bool HandleNpcSetSubNameCommand(ChatHandler* /*handler*/, const char* /*args*/)
|
||||
{
|
||||
/* Temp. disabled
|
||||
|
||||
|
||||
@@ -180,7 +180,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
|
||||
@@ -278,7 +278,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ class boss_bronjahm : public CreatureScript
|
||||
DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& damage)
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/)
|
||||
{
|
||||
if (events.GetPhaseMask() & (1 << PHASE_1) && !HealthAbovePct(30))
|
||||
{
|
||||
|
||||
@@ -299,7 +299,7 @@ class player_overlord_brandAI : public PlayerAI
|
||||
me->CastCustomSpell(SPELL_OVERLORD_BRAND_HEAL, SPELLVALUE_BASE_POINT0, int32(addHealth*5.5f), tyrannus, true, NULL, NULL, tyrannus->GetGUID());
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff) { }
|
||||
void UpdateAI(const uint32 /*diff*/) { }
|
||||
|
||||
private:
|
||||
Creature* tyrannus;
|
||||
|
||||
@@ -202,7 +202,7 @@ class boss_blood_council_controller : public CreatureScript
|
||||
instance->SetBossState(DATA_BLOOD_PRINCE_COUNCIL, NOT_STARTED);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* who)
|
||||
void EnterCombat(Unit* /*who*/)
|
||||
{
|
||||
instance->SetBossState(DATA_BLOOD_PRINCE_COUNCIL, IN_PROGRESS);
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef DEF_ICECROWN_CITADEL_H
|
||||
#define DEF_ICECROWN_CITADEL_H
|
||||
|
||||
static const char* ICCScriptName = "instance_icecrown_citadel";
|
||||
#define ICCScriptName "instance_icecrown_citadel"
|
||||
|
||||
enum eSharedSpells
|
||||
{
|
||||
|
||||
@@ -499,7 +499,7 @@ class spell_gen_animal_blood : public SpellScriptLoader
|
||||
return true;
|
||||
}
|
||||
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraApplication const* aurApp, AuraEffectHandleModes /*mode*/)
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraApplication const* /*aurApp*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (GetUnitOwner()->IsInWater())
|
||||
GetUnitOwner()->CastSpell(GetUnitOwner(), SPELL_SPAWN_BLOOD_POOL, true);
|
||||
|
||||
Reference in New Issue
Block a user