mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 06:54:39 -04:00
PVS-Studio static analysis corrections (3) issue #137
This commit is contained in:
@@ -146,12 +146,7 @@ bool BladerfInput::start()
|
||||
|
||||
if (m_running) stop();
|
||||
|
||||
if((m_bladerfThread = new BladerfInputThread(m_dev, &m_sampleFifo)) == 0) {
|
||||
qCritical("BladerfInput::start: out of memory");
|
||||
stop();
|
||||
return false;
|
||||
}
|
||||
|
||||
m_bladerfThread = new BladerfInputThread(m_dev, &m_sampleFifo);
|
||||
m_bladerfThread->setLog2Decimation(m_settings.m_log2Decim);
|
||||
m_bladerfThread->setFcPos((int) m_settings.m_fcPos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user