From a6b66e3f7e462e84f9f5daa9d4192c0ed85ed472 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 6 Dec 2011 22:49:34 -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) {