mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-27 13:57:56 -04:00
Initialize all coordinate boundary members in the Interogator constructor. Coverity (CID 649097) flagged m_minLatitude, m_maxLatitude, m_minLongitude, and m_maxLongitude as potentially uninitialized. Initialize them to max()/lowest() sentinel values so subsequent min/max accumulation logic operates on defined data. This is likely not an issue, but safety depends on discipline across the entire codebase, every place these members are accessed must check m_valid first. Cleaner approach is to just initialize them, it costs nothing and eliminates the entire class of bugs. Signed-off-by: Robin Getz <rgetz503@gmail.com>