mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
PVS-Studio static analysis corrections (3) issue #137
This commit is contained in:
@@ -74,13 +74,7 @@ bool TestSourceInput::start()
|
||||
|
||||
if (m_running) stop();
|
||||
|
||||
if ((m_testSourceThread = new TestSourceThread(&m_sampleFifo)) == 0)
|
||||
{
|
||||
qCritical("TestSourceInput::start: out of memory");
|
||||
stop();
|
||||
return false;
|
||||
}
|
||||
|
||||
m_testSourceThread = new TestSourceThread(&m_sampleFifo);
|
||||
m_testSourceThread->setSamplerate(m_settings.m_sampleRate);
|
||||
m_testSourceThread->connectTimer(m_masterTimer);
|
||||
m_testSourceThread->startWork();
|
||||
|
||||
Reference in New Issue
Block a user