fixing multiple 'unused variable' warnings (#1224)

This commit is contained in:
Cryo81
2025-05-01 16:00:54 -03:00
committed by GitHub
parent 6fc02a4429
commit 707210f6a5
13 changed files with 77 additions and 77 deletions

View File

@@ -35,98 +35,98 @@ public:
}
private:
static ActionNode* holy_nova(PlayerbotAI* ai)
static ActionNode* holy_nova([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("holy nova",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* power_word_shield(PlayerbotAI* ai)
static ActionNode* power_word_shield([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("power word: shield",
/*P*/ NULL,
/*A*/ NextAction::array(0, new NextAction("renew", 50.0f), NULL),
/*C*/ NULL);
}
static ActionNode* power_word_shield_on_party(PlayerbotAI* ai)
static ActionNode* power_word_shield_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("power word: shield on party",
/*P*/ NULL,
/*A*/ NextAction::array(0, new NextAction("renew on party", 50.0f), NULL),
/*C*/ NULL);
}
static ActionNode* renew(PlayerbotAI* ai)
static ActionNode* renew([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("renew",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* renew_on_party(PlayerbotAI* ai)
static ActionNode* renew_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("renew on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* greater_heal(PlayerbotAI* ai)
static ActionNode* greater_heal([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("greater heal",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NextAction::array(0, new NextAction("heal"), NULL),
/*C*/ NULL);
}
static ActionNode* greater_heal_on_party(PlayerbotAI* ai)
static ActionNode* greater_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("greater heal on party",
/*P*/ NULL,
/*A*/ NextAction::array(0, new NextAction("heal on party"), NULL),
/*C*/ NULL);
}
static ActionNode* heal(PlayerbotAI* ai)
static ActionNode* heal([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("heal",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NextAction::array(0, new NextAction("lesser heal"), NULL),
/*C*/ NULL);
}
static ActionNode* heal_on_party(PlayerbotAI* ai)
static ActionNode* heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("heal on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NextAction::array(0, new NextAction("lesser heal on party"), NULL),
/*C*/ NULL);
}
static ActionNode* lesser_heal(PlayerbotAI* ai)
static ActionNode* lesser_heal([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("lesser heal",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* lesser_heal_on_party(PlayerbotAI* ai)
static ActionNode* lesser_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("lesser heal on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* flash_heal(PlayerbotAI* ai)
static ActionNode* flash_heal([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("flash heal",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* flash_heal_on_party(PlayerbotAI* ai)
static ActionNode* flash_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("flash heal on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* circle_of_healing(PlayerbotAI* ai)
static ActionNode* circle_of_healing([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("circle of healing on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
@@ -134,14 +134,14 @@ private:
/*A*/ NULL,
/*C*/ NULL);
}
static ActionNode* prayer_of_fortitude_on_party(PlayerbotAI* ai)
static ActionNode* prayer_of_fortitude_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("prayer of fortitude on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
/*A*/ NextAction::array(0, new NextAction("power word: fortitude on party"), NULL),
/*C*/ NULL);
}
static ActionNode* prayer_of_spirit_on_party(PlayerbotAI* ai)
static ActionNode* prayer_of_spirit_on_party([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("prayer of spirit on party",
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),