From 1d5aa3c38c3a545ad0056613f561ac01d945b2ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Aug 2014 23:21:55 +0300 Subject: Fix compilation warning. --- src/net/ea/npchandler.h | 2 +- src/net/tmwa/npchandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index bfbc9dcfb..c1bcd5cd1 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -49,7 +49,7 @@ class NpcHandler notfinal : public Net::NpcHandler void endShopping(const int beingId) const override final; - virtual int getNpc(Net::MessageIn &msg) A_WARN_UNUSED = 0; + virtual int getNpc(Net::MessageIn &msg) = 0; void processNpcChoice(Net::MessageIn &msg); diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index f4b982a35..55dfdd315 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -65,7 +65,7 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler void sellItem(const int beingId, const int itemId, const int amount) const override final; - int getNpc(Net::MessageIn &msg) override final A_WARN_UNUSED; + int getNpc(Net::MessageIn &msg) override final; void processNpcCommand(Net::MessageIn &msg, const int npcId); -- cgit v1.2.3-70-g09d2