aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorBalint Seeber <balint@ettus.com>2014-02-03 11:58:32 -0800
committerBalint Seeber <balint@ettus.com>2014-02-03 11:58:32 -0800
commitef100213a47a8560e6c2e09e623be198498dbd26 (patch)
treee2d4085624b3633e353baa1f88d8bf436c84ceb9 /host
parent5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b (diff)
downloaduhd-ef100213a47a8560e6c2e09e623be198498dbd26.tar.gz
uhd-ef100213a47a8560e6c2e09e623be198498dbd26.tar.bz2
uhd-ef100213a47a8560e6c2e09e623be198498dbd26.zip
uhd: so Coverity doesn't complain, removed variable declarations too
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/common/recv_packet_demuxer_3000.hpp2
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;
};