From 3681b42535d541adf6e72b87dbb0865fa3f4aa3a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 02:33:50 +0300 Subject: Fix compilation warnings. --- src/net/eathena/auctionhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') 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"); -- cgit v1.2.3-70-g09d2