Core: Fix some warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-06 15:23:08 +02:00
parent 588092960b
commit cdef980af4
10 changed files with 21 additions and 22 deletions
+3 -3
View File
@@ -55,14 +55,14 @@ public:
}
}
void OnChat(Player *player, uint32 type, uint32 lang, std::string msg, Player *receiver)
void OnChat(Player *player, uint32 /*type*/, uint32 /*lang*/, std::string msg, Player *receiver)
{
if (sWorld.getBoolConfig(CONFIG_CHATLOG_WHISPER))
sLog.outChat("[WHISPER] Player %s tells %s: %s",
player->GetName(), receiver ? receiver->GetName() : "<unknown>", msg.c_str());
}
void OnChat(Player *player, uint32 type, uint32 lang, std::string msg, Group *group)
void OnChat(Player *player, uint32 type, uint32 /*lang*/, std::string msg, Group *group)
{
switch (type)
{
@@ -131,7 +131,7 @@ public:
}
}
void OnChat(Player *player, uint32 type, uint32 lang, std::string msg, Channel *channel)
void OnChat(Player *player, uint32 /*type*/, uint32 /*lang*/, std::string msg, Channel *channel)
{
bool isSystem = channel &&
(channel->HasFlag(CHANNEL_FLAG_TRADE) ||