summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 21:45:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 21:45:58 +0300
commit9b9f5b35556106799bd72da8f07bd1976b60454a (patch)
tree25588b3ce8610c1b5db083012d0d6051a1c1cebf /src/net/eathena/inventoryhandler.cpp
parent4cce9fe89ce1e53f901f07cdb626b63f662e1e17 (diff)
downloadmanaplus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.gz
manaplus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.bz2
manaplus-9b9f5b35556106799bd72da8f07bd1976b60454a.tar.xz
manaplus-9b9f5b35556106799bd72da8f07bd1976b60454a.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index c6838fe19..dba668745 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -445,7 +445,7 @@ void InventoryHandler::processPlayerInventoryRemove2(Net::MessageIn &msg)
// +++ here possible use particle or text/sound effects
// for different reasons
- const int reason = msg.readInt16("reason");
+ msg.readInt16("reason");
const int index = msg.readInt16("index") - INVENTORY_OFFSET;
const int amount = msg.readInt16("amount");
if (inventory)