cppcheck reported uninitialized scalar members in the FT4 constructor.
Initialize pass_ and cached sample values hack_0_ and hack_1_ to avoid
undefined behavior when these members are used before assignment.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Coverity reported an uninitialized scalar variable in FT4::soft_c2m().
Initialize the maximum tone phase value to avoid using an undefined value
when no tone exceeds the initial magnitude threshold.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Fix cppcheck warnings about uninitialized mx variables in coarse
strength and soft symbol conversion calculations.
Replace the mxi sentinel logic with an explicit -infinity initial
maximum value, allowing the maximum search to operate directly on the
value being tracked. This removes reliance on short-circuit evaluation
for initialization and simplifies the code.
Signed-off-by: Robin Getz <rgetz503@gmail.com>