mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-26 05:15:40 -04:00
Initialize m_radiotext_AB_flag in the RDSParser constructor to ensure the radio text state is defined before the first Group 2 update. Keep the flag out of clearUpdateFlags() because it is persistent parser state, not a transient update flag. Resetting it when update flags are cleared could incorrectly appear as an A/B transition and cause stale radio text handling. Pointed out by cppcheck. Signed-off-by: Robin Getz <rgetz503@gmail.com>