From cc49dc959a00bf7b6652a2b2c6d67497c942e30c Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Mon, 23 Dec 2019 08:25:44 -0800 Subject: tests: fixup compiler warning Fixes cb40069b ("tests: Port polling-mode dpdk_test to new DPDK...") --- host/tests/common/mock_transport.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') diff --git a/host/tests/common/mock_transport.hpp b/host/tests/common/mock_transport.hpp index 6ca48ee5f..33d5510a9 100644 --- a/host/tests/common/mock_transport.hpp +++ b/host/tests/common/mock_transport.hpp @@ -156,7 +156,7 @@ public: _seqno++; } - bool can_send(size_t bytes) + bool can_send(size_t /* bytes */) { return _seqno < _ackno + _credits; }; -- cgit v1.2.3