Browse Source

sdrgui: Initialize scope marker value

Initialize m_value in the ScopeMarker copy constructor.

Found by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
4230eb0a3b
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      sdrgui/gui/glscope.h

1
sdrgui/gui/glscope.h

@ -131,6 +131,7 @@ private: @@ -131,6 +131,7 @@ private:
ScopeMarker(const ScopeMarker& other) :
m_point(other.m_point),
m_time(other.m_time),
m_value(other.m_value),
m_timeStr(other.m_timeStr),
m_valueStr(other.m_valueStr),
m_timeDeltaStr(other.m_timeDeltaStr),

Loading…
Cancel
Save