diff options
author | Josh Blum | 2011-11-27 01:25:25 -0500 |
---|---|---|
committer | Josh Blum | 2011-11-27 01:25:25 -0500 |
commit | 435dc713e9ea5783729a2205a3c6fb9c9a3380b1 (patch) | |
tree | df60938f73b6a92e0dc807bb3da2e20b00ca25ad /gr-uhd/lib/gr_uhd_usrp_source.cc | |
parent | ffa9e710f5a23ad83b611e77ed717bdb01ea9d24 (diff) | |
download | gnuradio-435dc713e9ea5783729a2205a3c6fb9c9a3380b1.tar.gz gnuradio-435dc713e9ea5783729a2205a3c6fb9c9a3380b1.tar.bz2 gnuradio-435dc713e9ea5783729a2205a3c6fb9c9a3380b1.zip |
uhd: cleanup some -Wall warnings
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index 953ef6995..51a756908 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -388,11 +388,11 @@ public: while (true){ #ifdef GR_UHD_USE_STREAM_API const size_t bpi = uhd::convert::get_bytes_per_item(_stream_args.cpu_format); - const size_t num_samps = _rx_stream->recv( + _rx_stream->recv( outputs, nbytes/bpi, _metadata, 0.0 ); #else - const size_t num_samps = _dev->get_device()->recv( + _dev->get_device()->recv( outputs, nbytes/_type->size, _metadata, *_type, uhd::device::RECV_MODE_FULL_BUFF, 0.0 ); |