Browse Source
Initialize pass_, hack_0_, and hack_1_ in the FT8 constructor initializer list. cppcheck identified these members as potentially uninitialized. Initializing them makes the constructor state explicit and reduces the risk of undefined behavior if they are read before being assigned. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue