mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
PVS-Studio static analysis corrections (3) issue #137
This commit is contained in:
@@ -168,12 +168,7 @@ bool SDRPlayInput::start()
|
||||
return false;
|
||||
}
|
||||
|
||||
if((m_sdrPlayThread = new SDRPlayThread(m_dev, &m_sampleFifo)) == 0)
|
||||
{
|
||||
qCritical("SDRPlayInput::start: failed to create thread");
|
||||
return false;
|
||||
}
|
||||
|
||||
m_sdrPlayThread = new SDRPlayThread(m_dev, &m_sampleFifo);
|
||||
m_sdrPlayThread->setLog2Decimation(m_settings.m_log2Decim);
|
||||
m_sdrPlayThread->setFcPos((int) m_settings.m_fcPos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user