diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 00:54:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 00:54:58 +0300 |
commit | bedfca1c1cb893c937d317dd658067166e9953e0 (patch) | |
tree | ce243b13bbdd91118ce832181845b1638f1fb749 | |
parent | b152b3efe16aee225547846838aae78cd0c6d02e (diff) | |
download | plus-bedfca1c1cb893c937d317dd658067166e9953e0.tar.gz plus-bedfca1c1cb893c937d317dd658067166e9953e0.tar.bz2 plus-bedfca1c1cb893c937d317dd658067166e9953e0.tar.xz plus-bedfca1c1cb893c937d317dd658067166e9953e0.zip |
Fix compilation warnings.
-rw-r--r-- | src/net/ea/beingnet.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/pethandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |