aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-12-15 02:51:48 -0300
committerariel- <ariel-@users.noreply.github.com>2017-12-15 02:51:48 -0300
commitea0224e3bd8a4b081725c1eae5c597f8c7d74d7f (patch)
tree661bf8aaae71db69ae9e584bc76e13915cf24217 /src/server/scripts/Spells
parenta36e804ae4639be40be17282e6c79fad9a769517 (diff)
Core/Scripts: travis fixes
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp2
-rw-r--r--src/server/scripts/Spells/spell_item.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index fc24a7221ee..291e06218fd 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -227,7 +227,7 @@ class spell_gen_arena_drink : public AuraScript
return GetCaster() && GetCaster()->GetTypeId() == TYPEID_PLAYER;
}
- void CalcPeriodic(AuraEffect const* aurEff, bool& isPeriodic, int32& amplitude)
+ void CalcPeriodic(AuraEffect const* aurEff, bool& isPeriodic, int32& /*amplitude*/)
{
// Get SPELL_AURA_MOD_POWER_REGEN aura from spell
AuraEffect* regen = GetAura()->GetEffect(EFFECT_0);
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp
index 5399a91830e..5a643d8a383 100644
--- a/src/server/scripts/Spells/spell_item.cpp
+++ b/src/server/scripts/Spells/spell_item.cpp
@@ -117,7 +117,7 @@ class spell_item_absorb_eye_of_grillok : public AuraScript
{
PrepareAuraScript(spell_item_absorb_eye_of_grillok);
- bool Validate(SpellInfo const* /*spellInfo*/)
+ bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_EYE_OF_GRILLOK });
}