Task #136651 - fixed.err
back to task #136651download
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/convolutional.h:291: warning[uninitMemberVar]: Member variable 'convol_multipoly < uint16_t , 16 >::polys' is not initialized in the constructor.
# 289| const Thist *polys; // [bits_out]
# 290|
# 291|-> convol_multipoly()
# 292| : bits_in(0), bits_out(0), bps(0),
# 293| hist(0), nhist(0), sersymb(0), nsersymb(0)
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/dvb.h:874: warning[uninitMemberVar]: Member variable 'mpeg_sync::lock_timeleft' is not initialized in the constructor.
# 872| int resync_period;
# 873|
# 874|-> mpeg_sync(
# 875| scheduler *sch,
# 876| pipebuf<Tbyte> &_in,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/dvb.h:874: warning[uninitMemberVar]: Member variable 'mpeg_sync::locktime' is not initialized in the constructor.
# 872| int resync_period;
# 873|
# 874|-> mpeg_sync(
# 875| scheduler *sch,
# 876| pipebuf<Tbyte> &_in,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/dvb.h:874: warning[uninitMemberVar]: Member variable 'mpeg_sync::phase8' is not initialized in the constructor.
# 872| int resync_period;
# 873|
# 874|-> mpeg_sync(
# 875| scheduler *sch,
# 876| pipebuf<Tbyte> &_in,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/framework.h:117: warning[uninitMemberVar]: Member variable 'scheduler::pipes' is not initialized in the constructor.
# 115| bool verbose, debug, debug2;
# 116|
# 117|-> scheduler() :
# 118| npipes(0),
# 119| nrunnables(0),
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/framework.h:117: warning[uninitMemberVar]: Member variable 'scheduler::runnables' is not initialized in the constructor.
# 115| bool verbose, debug, debug2;
# 116|
# 117|-> scheduler() :
# 118| npipes(0),
# 119| nrunnables(0),
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut < eucl_ss , 256 >::lut' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut < eucl_ss , 256 >::m_rateCode' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut < eucl_ss , 256 >::m_setByModcod' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut < eucl_ss , 256 >::m_typeCode' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut::lut' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut::m_rateCode' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut::m_setByModcod' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:536: warning[uninitMemberVar]: Member variable 'cstln_lut::m_typeCode' is not initialized in the constructor.
# 534| struct cstln_lut : cstln_base
# 535| {
# 536|-> cstln_lut(
# 537| cstln_base::predef type,
# 538| float mer = 10,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:1026: warning[uninitMemberVarNoCtor]: Member variable 'linear_sampler::freqw' has no initializer.
# 1024| private:
# 1025| trig16 trig;
# 1026|-> float freqw;
# 1027| };
# 1028| // linear_sampler
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/sdr.h:1464: warning[uninitMemberVar]: Member variable 'fast_qpsk_receiver::mer_out' is not initialized in the constructor.
# 1462| static const unsigned int chunk_size = 128;
# 1463|
# 1464|-> fast_qpsk_receiver(
# 1465| scheduler *sch,
# 1466| pipebuf<std::complex<T>> &_in,
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 128 , uint8_t , 256 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 7 , 9 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 16 , uint8_t , 32 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 4 , 16 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 16 , uint8_t , 64 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 4 , 16 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 2 , uint8_t , 4 , int32_t , int32_t , bitpath < uint32_t , uint8_t , 1 , 32 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 32 , uint8_t , 64 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 5 , 12 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 4 , uint8_t , 8 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 3 , 21 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: CPPCHECK_WARNING (CWE-398):
sdrangel-v4.11.5/plugins/channelrx/demoddatv/leansdr/viterbi.h:171: warning[uninitMemberVar]: Member variable 'viterbi_dec < uint8_t , 64 , uint8_t , 8 , uint8_t , 16 , int32_t , int32_t , bitpath < uint64_t , uint8_t , 3 , 21 > >::statebanks' is not initialized in the constructor.
# 169| statebank *states, *newstates; // Alternate between banks
# 170|
# 171|-> viterbi_dec(trellis<TS, NSTATES, TUS, NUS, NCS> *_trellis) : trell(_trellis)
# 172| {
# 173| states = &statebanks[0];
Error: COMPILER_WARNING (CWE-665):
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodsink.cpp:32:1: warning[-Wreorder]: when initialized here
# 32 | PagerDemodSink::PagerDemodSink() :
# | ^~~~~~~~~~~~~~
# 30| #include "pagerdemodsink.h"
# 31|
# 32|-> PagerDemodSink::PagerDemodSink() :
# 33| m_scopeSink(nullptr),
# 34| m_channel(nullptr),
Error: COMPILER_WARNING (CWE-665):
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodsink.h:225:9: warning[-Wreorder]: ‘int PagerDemodSink::m_baud’
# 225 | int m_baud; // Currently detected baud rate
# | ^~~~~~
# 223| int m_channelFrequencyOffset;
# 224| int m_samplesPerSymbol; // Number of samples per symbol
# 225|-> int m_baud; // Currently detected baud rate
# 226| PagerDemodBaudDetector m_baudDetector;
# 227|
Error: COMPILER_WARNING (CWE-665):
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodbaseband.h:31: included_from: Included from here.
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemod.h:39: included_from: Included from here.
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodsink.cpp:29: included_from: Included from here.
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodsink.h: scope_hint: In constructor ‘PagerDemodSink::PagerDemodSink()’
sdrangel-v4.11.5/plugins/channelrx/demodpager/pagerdemodsink.h:286:9: warning[-Wreorder]: ‘PagerDemodSink::m_alphaBitBufferBits’ will be initialized after
# 286 | int m_alphaBitBufferBits; // Count of bits in m_alphaBitBuffer
# | ^~~~~~~~~~~~~~~~~~~~
# 284| QString m_alphaMessage; // Message decoded in to alphanumeric character set
# 285| quint32 m_alphaBitBuffer; // Bit buffer to 7-bit chars spread across codewords
# 286|-> int m_alphaBitBufferBits; // Count of bits in m_alphaBitBuffer
# 287|
# 288| QVector<qint16> m_demodBuffer;