diff options
author | Balint Seeber <balint@ettus.com> | 2014-02-03 11:58:32 -0800 |
---|---|---|
committer | Balint Seeber <balint@ettus.com> | 2014-02-03 11:58:32 -0800 |
commit | ef100213a47a8560e6c2e09e623be198498dbd26 (patch) | |
tree | e2d4085624b3633e353baa1f88d8bf436c84ceb9 /host/lib/usrp/common | |
parent | 5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b (diff) | |
download | uhd-ef100213a47a8560e6c2e09e623be198498dbd26.tar.gz uhd-ef100213a47a8560e6c2e09e623be198498dbd26.tar.bz2 uhd-ef100213a47a8560e6c2e09e623be198498dbd26.zip |
uhd: so Coverity doesn't complain, removed variable declarations too
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r-- | host/lib/usrp/common/recv_packet_demuxer_3000.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp index 9f64d4262..77bdebab0 100644 --- a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp +++ b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp @@ -123,8 +123,10 @@ namespace uhd{ namespace usrp{ typedef std::queue<transport::managed_recv_buffer::sptr> queue_type_t; std::map<boost::uint32_t, queue_type_t> _queues; transport::zero_copy_if::sptr _xport; +#ifdef RECV_PACKET_DEMUXER_3000_THREAD_SAFE uhd::atomic_uint32_t _claimed; boost::condition_variable cond; +#endif // RECV_PACKET_DEMUXER_3000_THREAD_SAFE boost::mutex mutex; }; |