aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/common
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-08 13:27:52 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-04 08:18:41 -0600
commit6da4e7622be4f70956a755229bbe90551f8e5f1a (patch)
treeb772ebe7dbe7c1fef21ce47d783c424a09863ea2 /host/tests/common
parent07f591aea9d3849a25e50428aeeb83d7aa641b7e (diff)
downloaduhd-6da4e7622be4f70956a755229bbe90551f8e5f1a.tar.gz
uhd-6da4e7622be4f70956a755229bbe90551f8e5f1a.tar.bz2
uhd-6da4e7622be4f70956a755229bbe90551f8e5f1a.zip
tests: Remove unused constants
This fixes some clang warnings.
Diffstat (limited to 'host/tests/common')
-rw-r--r--host/tests/common/mock_transport.hpp3
1 files changed, 0 insertions, 3 deletions
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<uint32_t, boost::lockfree::capacity<8>> _msg_queue;
- uint32_t _seqno = 0;
};
}} // namespace uhd::transport