summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 16:53:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 16:53:50 +0300
commited4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a (patch)
treeaae2e44560c693cea69dbddbc565f9d76d02474b /src/net/eathena/inventoryhandler.cpp
parentda98d12637db106b87341560cc72ca6207b2d12f (diff)
downloadplus-ed4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a.tar.gz
plus-ed4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a.tar.bz2
plus-ed4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a.tar.xz
plus-ed4d2c347cd5ab591ebbfe2d87a90cd0f34d7c3a.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
1 files changed, 0 insertions, 2 deletions
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");