Fixed warnings when EXTRA_LOGS are off

This commit is contained in:
Yehonal
2017-09-25 10:54:21 +02:00
parent e687d223ff
commit dcdddf658b
11 changed files with 25 additions and 13 deletions

View File

@@ -699,6 +699,9 @@ void WorldSession::HandleChatIgnoredOpcode(WorldPacket& recvData)
void WorldSession::HandleChannelDeclineInvite(WorldPacket &recvPacket)
{
// used only with EXTRA_LOGS
UNUSED(recvPacket);
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
sLog->outDebug(LOG_FILTER_NETWORKIO, "Opcode %u", recvPacket.GetOpcode());
#endif