mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-27 12:34:18 -04:00
a637a20447
Initialize m_min and m_max in the SensorMeasurements constructor to ensure the object has a valid state immediately after construction, before init() is called. Although init() sets these values before normal use, constructors should fully initialize all class members to avoid leaving objects with undefined state and to make the class safe to use regardless of initialization order. This fixes a Coverity UNINIT_CTOR warning caused by uninitialized scalar members in the constructor. Signed-off-by: Robin Getz <rgetz503@gmail.com>