summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 02:33:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 02:33:50 +0300
commit3681b42535d541adf6e72b87dbb0865fa3f4aa3a (patch)
tree9eedbc0e90612222bd57e123c720f954d2ccc905 /src/net/eathena
parent6ace9d3915924faf32340efba799deba2acc69ee (diff)
downloadplus-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.gz
plus-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.bz2
plus-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.xz
plus-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/auctionhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp
index 4a4ebbb99..7827d19ce 100644
--- a/src/net/eathena/auctionhandler.cpp
+++ b/src/net/eathena/auctionhandler.cpp
@@ -71,7 +71,7 @@ void AuctionHandler::processOpenWindow(Net::MessageIn &msg)
void AuctionHandler::processAuctionResults(Net::MessageIn &msg)
{
- const int count = msg.readInt16("len");
+ msg.readInt16("len");
msg.readInt32("pages");
const int itemCount = msg.readInt32("items count");
for (int f = 0; f < itemCount; f ++)
@@ -84,7 +84,7 @@ void AuctionHandler::processAuctionResults(Net::MessageIn &msg)
msg.readUInt8("identify");
msg.readUInt8("attribute");
msg.readUInt8("refine");
- for (int f = 0; f < 4; f++)
+ for (int d = 0; d < 4; d ++)
msg.readInt16("card");
msg.readInt32("price");
msg.readInt32("buy now");