Browse Source

Fixed warning: unused parameter

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
c47fe49f80
  1. 4
      test/libp2p/capability.cpp

4
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<TestCapability>, public Worker

Loading…
Cancel
Save