From d4a6308705b55e0cd3cf3a8709b87c3acf1cf636 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Wed, 7 Dec 2011 13:33:00 -0200 Subject: [PATCH] fix warning --- src/otclient/net/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otclient/net/protocolgameparse.cpp b/src/otclient/net/protocolgameparse.cpp index f98f321c..b7caa765 100644 --- a/src/otclient/net/protocolgameparse.cpp +++ b/src/otclient/net/protocolgameparse.cpp @@ -717,7 +717,7 @@ void ProtocolGame::parseCreatureSpeak(InputMessage& msg) std::string name = msg.getString(); // name int level = msg.getU16(); // level int type = msg.getU8(); - int channelId; + int channelId = 0; Position creaturePos; switch(type) {