mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Fixed -Wuninitialized warnings
This commit is contained in:
parent
9bd8e9c34e
commit
142b8c997a
@ -477,7 +477,7 @@ unsigned int ChirpChatDemodSink::argmax(
|
|||||||
{
|
{
|
||||||
magsqMax = 0.0;
|
magsqMax = 0.0;
|
||||||
magsqTotal = 0.0;
|
magsqTotal = 0.0;
|
||||||
unsigned int imax;
|
unsigned int imax = 0;
|
||||||
double magSum = 0.0;
|
double magSum = 0.0;
|
||||||
|
|
||||||
for (unsigned int i = 0; i < fftMult*fftLength; i++)
|
for (unsigned int i = 0; i < fftMult*fftLength; i++)
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
RemoteInputBuffer::RemoteInputBuffer() :
|
RemoteInputBuffer::RemoteInputBuffer() :
|
||||||
m_decoderSlots(nullptr),
|
m_decoderSlots(nullptr),
|
||||||
m_frames(nullptr),
|
m_frames(nullptr),
|
||||||
m_decoderIndexHead(m_nbDecoderSlots/2),
|
|
||||||
m_curNbBlocks(0),
|
m_curNbBlocks(0),
|
||||||
m_minNbBlocks(256),
|
m_minNbBlocks(256),
|
||||||
m_curOriginalBlocks(0),
|
m_curOriginalBlocks(0),
|
||||||
@ -47,6 +46,7 @@ RemoteInputBuffer::RemoteInputBuffer() :
|
|||||||
{
|
{
|
||||||
m_currentMeta.init();
|
m_currentMeta.init();
|
||||||
setNbDecoderSlots(16);
|
setNbDecoderSlots(16);
|
||||||
|
m_decoderIndexHead = m_nbDecoderSlots/2;
|
||||||
m_tvOut_sec = 0;
|
m_tvOut_sec = 0;
|
||||||
m_tvOut_usec = 0;
|
m_tvOut_usec = 0;
|
||||||
m_readNbBytes = 1;
|
m_readNbBytes = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user