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:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include "airspythread.h"
|
||||
|
||||
@@ -34,6 +35,7 @@ AirspyThread::AirspyThread(struct airspy_device* dev, SampleSinkFifo* sampleFifo
|
||||
m_fcPos(0)
|
||||
{
|
||||
m_this = this;
|
||||
std::fill(m_buf, m_buf + 2*AIRSPY_BLOCKSIZE, 0);
|
||||
}
|
||||
|
||||
AirspyThread::~AirspyThread()
|
||||
|
||||
Reference in New Issue
Block a user