From bedfca1c1cb893c937d317dd658067166e9953e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Aug 2015 00:54:58 +0300 Subject: Fix compilation warnings. --- src/net/ea/beingnet.cpp | 2 +- src/net/eathena/pethandler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/net/ea/beingnet.cpp b/src/net/ea/beingnet.cpp index c7f64aa66..621e76b0c 100644 --- a/src/net/ea/beingnet.cpp +++ b/src/net/ea/beingnet.cpp @@ -366,7 +366,7 @@ void BeingNet::processSkillNoDamage(Net::MessageIn &msg) msg.readBeingId("dst being id")); Being *const srcBeing = actorManager->findBeing( msg.readBeingId("src being id")); - const int flag = msg.readUInt8("fail"); + msg.readUInt8("fail"); if (srcBeing) srcBeing->handleSkill(dstBeing, heal, id, 1); diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index c6a68b04e..b80ee5eee 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -347,7 +347,7 @@ void PetHandler::startAi(const bool start A_UNUSED) const { } -void PetHandler::processPetCatchProcess(Net::MessageIn &msg) +void PetHandler::processPetCatchProcess(Net::MessageIn &msg A_UNUSED) { NotifyManager::notify(NotifyTypes::PET_CATCH_PROCESS); } -- cgit v1.2.3-70-g09d2