From ed4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Sep 2014 16:53:50 +0300 Subject: Fix compilation warnings. --- src/net/eathena/chathandler.cpp | 2 -- src/net/eathena/inventoryhandler.cpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 0dc632252..3b5df895e 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -379,8 +379,6 @@ void ChatHandler::processGmChat(Net::MessageIn &msg) if (!findCutFirst(chatMsg, "ssss")) findCutFirst(chatMsg, "eulb"); - const size_t pos = chatMsg.find(" : ", 0); - if (chatWindow) chatWindow->addGlobalMessage(chatMsg); BLOCK_END("ChatHandler::processChat") diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 646ecef97..7666825de 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -427,8 +427,6 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) void InventoryHandler::processPlayerStorage(Net::MessageIn &msg) { BLOCK_START("InventoryHandler::processPlayerInventory") - Inventory *const inventory = localPlayer - ? PlayerInfo::getInventory() : nullptr; mInventoryItems.clear(); msg.readInt16("len"); -- cgit v1.2.3-70-g09d2