aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-10-23 11:02:56 -0700
committerMichael West <michael.west@ettus.com>2013-10-23 11:02:56 -0700
commitb6ea32f321023fa8b898974130561ef2ad351322 (patch)
treec4a067f0aba342bf46a8e948b9b36b6b0bb616ed /host
parentc577202b2e470ad876c452386df94e595539f215 (diff)
downloaduhd-b6ea32f321023fa8b898974130561ef2ad351322.tar.gz
uhd-b6ea32f321023fa8b898974130561ef2ad351322.tar.bz2
uhd-b6ea32f321023fa8b898974130561ef2ad351322.zip
Marked unused parameters with attributes to suppress compiler warnings.
Diffstat (limited to 'host')
-rw-r--r--host/examples/test_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_messages.cpp b/host/examples/test_messages.cpp
index e39a8bd30..0815d0b1c 100644
--- a/host/examples/test_messages.cpp
+++ b/host/examples/test_messages.cpp
@@ -84,7 +84,7 @@ bool test_late_command_message(uhd::usrp::multi_usrp::sptr usrp, uhd::rx_streame
* Issue a stream command with num samps and more.
* We expect to get an inline broken chain message.
*/
-bool test_broken_chain_message(uhd::usrp::multi_usrp::sptr usrp, uhd::rx_streamer::sptr rx_stream, uhd::tx_streamer::sptr){
+bool test_broken_chain_message(uhd::usrp::multi_usrp::sptr usrp __attribute__ ((unused)), uhd::rx_streamer::sptr rx_stream, uhd::tx_streamer::sptr){
std::cout << "Test broken chain message... " << std::flush;
uhd::stream_cmd_t stream_cmd(uhd::stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_MORE);