From 6da4e7622be4f70956a755229bbe90551f8e5f1a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 13:27:52 +0100 Subject: tests: Remove unused constants This fixes some clang warnings. --- host/tests/common/mock_transport.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'host/tests/common/mock_transport.hpp') diff --git a/host/tests/common/mock_transport.hpp b/host/tests/common/mock_transport.hpp index 1f3609843..ecca432fc 100644 --- a/host/tests/common/mock_transport.hpp +++ b/host/tests/common/mock_transport.hpp @@ -237,7 +237,6 @@ public: uint16_t dst_addr, uint16_t src_addr, uint32_t credits) - : _credits(credits) { _send_addr = (src_addr << 16) | (dst_addr << 0); _recv_addr = (dst_addr << 16) | (src_addr << 0); @@ -374,10 +373,8 @@ public: private: uint32_t _send_addr; uint32_t _recv_addr; - uint32_t _credits; recv_io_if::sptr _recv_if; boost::lockfree::spsc_queue> _msg_queue; - uint32_t _seqno = 0; }; }} // namespace uhd::transport -- cgit v1.2.3