diff options
author | Michael West <michael.west@ettus.com> | 2013-10-23 11:02:56 -0700 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2013-10-23 11:02:56 -0700 |
commit | b6ea32f321023fa8b898974130561ef2ad351322 (patch) | |
tree | c4a067f0aba342bf46a8e948b9b36b6b0bb616ed | |
parent | c577202b2e470ad876c452386df94e595539f215 (diff) | |
download | uhd-b6ea32f321023fa8b898974130561ef2ad351322.tar.gz uhd-b6ea32f321023fa8b898974130561ef2ad351322.tar.bz2 uhd-b6ea32f321023fa8b898974130561ef2ad351322.zip |
Marked unused parameters with attributes to suppress compiler warnings.
-rw-r--r-- | host/examples/test_messages.cpp | 2 |
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); |