Browse Source

demodapt: Initialize APT line message buffer

Value-initialize the MsgLine buffer so its contents are defined
before the line data is populated.

Identified by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.1.0
Robin Getz 4 weeks ago
parent
commit
90caed020e
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      plugins/channelrx/demodapt/aptdemod.h

1
plugins/channelrx/demodapt/aptdemod.h

@ -144,6 +144,7 @@ public: @@ -144,6 +144,7 @@ public:
MsgLine() :
Message(),
m_line{},
m_size(APT_PROW_WIDTH)
{}
};

Loading…
Cancel
Save