aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/common/mock_ctrl_iface_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-01-03 13:20:46 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-07 13:57:55 -0800
commit40bb17709182f7ce4b3761eb7e809c2be05663d2 (patch)
treecad6a83257a598e93f8a2567b2786e8cad2b3891 /host/tests/common/mock_ctrl_iface_impl.cpp
parentf63c089a348090adc0023db5e6530d6d8810f5e5 (diff)
downloaduhd-40bb17709182f7ce4b3761eb7e809c2be05663d2.tar.gz
uhd-40bb17709182f7ce4b3761eb7e809c2be05663d2.tar.bz2
uhd-40bb17709182f7ce4b3761eb7e809c2be05663d2.zip
tests: Fix compiler warning about unused timestamp
Diffstat (limited to 'host/tests/common/mock_ctrl_iface_impl.cpp')
-rw-r--r--host/tests/common/mock_ctrl_iface_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/common/mock_ctrl_iface_impl.cpp b/host/tests/common/mock_ctrl_iface_impl.cpp
index 24a938e4f..0e80ef9a0 100644
--- a/host/tests/common/mock_ctrl_iface_impl.cpp
+++ b/host/tests/common/mock_ctrl_iface_impl.cpp
@@ -11,7 +11,7 @@ uint64_t mock_ctrl_iface_impl::send_cmd_pkt(
const size_t addr,
const size_t data,
const bool readback,
- const uint64_t timestamp
+ const uint64_t /* timestamp */
) {
if (not readback) {
std::cout << str(boost::format("[MOCK] poke to addr: %016X, data == %016X") % addr % data) << std::endl;
@@ -32,4 +32,4 @@ uint64_t mock_ctrl_iface_impl::send_cmd_pkt(
}
}
return 0;
-} \ No newline at end of file
+}