summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 17:52:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 17:52:58 +0300
commit2fc2ae36225bbf7279e5093e236f2c16a674285d (patch)
tree021c0079ac65029446caccb4f2d9432427c4ce35 /src/net/eathena
parent6b60e9b14ff3cadcf12e0f487eb7b389fa9c81e4 (diff)
downloadmv-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.gz
mv-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.bz2
mv-2fc2ae36225bbf7279e5093e236f2c16a674285d.tar.xz
mv-2fc2ae36225bbf7279e5093e236f2c16a674285d.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chathandler.cpp2
-rw-r--r--src/net/eathena/npchandler.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 414c6e4df..60b93f89e 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -186,7 +186,7 @@ void ChatHandler::processRaw(MessageOut &restrict outMsg,
if (line.size() < 2)
return;
- const int i = parseNumber(line.substr(1));
+ const uint32_t i = parseNumber(line.substr(1));
switch (tolower(line[0]))
{
case 'b':
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index b22b0d804..3f844a025 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -61,8 +61,6 @@ NpcHandler::NpcHandler() :
void NpcHandler::handleMessage(Net::MessageIn &msg)
{
- int npcId = 0;
-
switch (msg.getId())
{
case SMSG_NPC_CHOICE: