mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 15:04:38 -04:00
PVS-Studio static analysis corrections (3) issue #137
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <algorithm>
|
||||
#include "dsp/samplesinkfifo.h"
|
||||
|
||||
|
||||
@@ -31,6 +32,7 @@ BladerfInputThread::BladerfInputThread(struct bladerf* dev, SampleSinkFifo* samp
|
||||
m_log2Decim(0),
|
||||
m_fcPos(0)
|
||||
{
|
||||
std::fill(m_buf, m_buf + 2*BLADERF_BLOCKSIZE, 0);
|
||||
}
|
||||
|
||||
BladerfInputThread::~BladerfInputThread()
|
||||
|
||||
Reference in New Issue
Block a user