mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-28 14:27:01 -04:00
Address cppcheck warnings by checking fopen() results before using the returned file handles and reporting the underlying error on failure. This prevents null file handles from being passed to fprintf() and fclose(), avoiding a potential crash when test output files cannot be created. Explicitly convert RRC filter coefficients to double for fprintf() to match the %f format specifier. Signed-off-by: Robin Getz <rgetz503@gmail.com>