From ef100213a47a8560e6c2e09e623be198498dbd26 Mon Sep 17 00:00:00 2001 From: Balint Seeber Date: Mon, 3 Feb 2014 11:58:32 -0800 Subject: uhd: so Coverity doesn't complain, removed variable declarations too --- host/lib/usrp/common/recv_packet_demuxer_3000.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib') 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 queue_type_t; std::map _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; }; -- cgit v1.2.3