UHDDevice: Initialize async_event_thrd in constructor
Fixes coverity CID 182757. It's actually a false warning because "async_event_thrd" member is protected by other member "started", so in practice it's never going to be used before being initialized in start(). Change-Id: I5d5739bc9d08fe533e4d44c3992005a14e568a4f
This commit is contained in:
parent
77ce99ac67
commit
b7095c7bc5
|
@ -369,7 +369,7 @@ uhd_device::uhd_device(size_t tx_sps, size_t rx_sps,
|
|||
rx_gain_min(0.0), rx_gain_max(0.0),
|
||||
tx_spp(0), rx_spp(0),
|
||||
started(false), aligned(false), rx_pkt_cnt(0), drop_cnt(0),
|
||||
prev_ts(0,0), ts_initial(0), ts_offset(0)
|
||||
prev_ts(0,0), ts_initial(0), ts_offset(0), async_event_thrd(NULL)
|
||||
{
|
||||
this->tx_sps = tx_sps;
|
||||
this->rx_sps = rx_sps;
|
||||
|
|
Loading…
Reference in New Issue