Core: Fix some warnings:
- enumeration value ‘X’ not handled in switch - unused parameter 'X' --HG-- branch : trunk
This commit is contained in:
@@ -5648,6 +5648,8 @@ bool ChatHandler::HandleBanCharacterCommand(const char *args)
|
|||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class spell_pri_mana_burn : public SpellScriptLoader
|
|||||||
|
|
||||||
class spell_pri_mana_burn_SpellScript : public SpellScript
|
class spell_pri_mana_burn_SpellScript : public SpellScript
|
||||||
{
|
{
|
||||||
bool Validate(SpellEntry const * spellEntry)
|
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user