Core: Fix some warnings:

- enumeration value ‘X’ not handled in switch
- unused parameter 'X'

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-20 13:52:11 +02:00
parent 2fb80e4a86
commit 822421f625
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5648,6 +5648,8 @@ bool ChatHandler::HandleBanCharacterCommand(const char *args)
SetSentErrorMessage(true); SetSentErrorMessage(true);
return false; return false;
} }
default:
break;
} }
return true; return true;
+1 -1
View File
@@ -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;
} }