diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 02:33:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 02:33:50 +0300 |
commit | 3681b42535d541adf6e72b87dbb0865fa3f4aa3a (patch) | |
tree | 9eedbc0e90612222bd57e123c720f954d2ccc905 /src/net/eathena/auctionhandler.cpp | |
parent | 6ace9d3915924faf32340efba799deba2acc69ee (diff) | |
download | manaverse-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.gz manaverse-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.bz2 manaverse-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.tar.xz manaverse-3681b42535d541adf6e72b87dbb0865fa3f4aa3a.zip |
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 4 |
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"); |