From c7a750d428cab8af1dadad5fab791220951c1b34 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 24 Oct 2020 16:54:48 +0700 Subject: Transceiver: explicitly init m{Rx,Tx}LowerLoopThread Coverity warns us that a non-static class members: - mRxLowerLoopThread, and - mTxLowerLoopThread, are not initialized in this constructor nor in any functions that it calls. I don't think it's critical, because we do initialize them in Transceiver::start(), but let's make them nullptr. Change-Id: If9e06aa7965f17383ab6599c15945e8ce2703bbf Fixes: CID#214952 --- Transceiver52M/Transceiver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 881633e..4980861 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -136,6 +136,7 @@ Transceiver::Transceiver(const struct trx_cfg *cfg, GSM::Time wTransmitLatency, RadioInterface *wRadioInterface) : cfg(cfg), mClockSocket(-1), + mRxLowerLoopThread(nullptr), mTxLowerLoopThread(nullptr), mTransmitLatency(wTransmitLatency), mRadioInterface(wRadioInterface), mChans(cfg->num_chans), mOn(false), mForceClockInterface(false), mTxFreq(0.0), mRxFreq(0.0), mTSC(0), mMaxExpectedDelayAB(0), -- cgit v1.2.3