From c47fe49f80924e3fd54de006189ad7a515d37859 Mon Sep 17 00:00:00 2001 From: Vlad Gluhovsky Date: Mon, 11 May 2015 22:54:12 +0200 Subject: [PATCH] Fixed warning: unused parameter --- test/libp2p/capability.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libp2p/capability.cpp b/test/libp2p/capability.cpp index e4d0d910c..2c158f4d8 100644 --- a/test/libp2p/capability.cpp +++ b/test/libp2p/capability.cpp @@ -68,10 +68,10 @@ protected: bool TestCapability::interpret(unsigned _id, RLP const& _r) { cnote << "Capability::interpret(): custom message received"; - BOOST_ASSERT(_id == UserPacket); ++m_cntReceivedMessages; m_testSum += _r[0].toInt(); - return true; + BOOST_ASSERT(_id == UserPacket); + return (_id == UserPacket); } class TestHostCapability: public HostCapability, public Worker