2026-05-04 20:26 ftp://ftp.de.debian.org/debian/pool/main/r/refnx/refnx_0.1.62.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 22 23 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: refnx-0.1.62/src/event.cpp:380:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] refnx-0.1.62/src/event.cpp:129:7: style: Condition '!hdr_base.clock_scale' is always false [knownConditionTrueFalse] refnx-0.1.62/src/event.cpp:378:12: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] refnx-0.1.62/src/event.cpp:167:11: style: The scope of the variable 'nbits_val' can be reduced. [variableScope] refnx-0.1.62/src/event.cpp:86:55: style: Parameter 'ff' can be declared as reference to const [constParameterReference] refnx-0.1.62/src/pnr/magnetic.cc:430:67: style:inconclusive: Function 'magnetic_amplitude' argument 10 names different: declaration 'kz' definition 'KZ'. [funcArgNamesDifferent] refnx-0.1.62/src/pnr/reflcalc.h:127:38: note: Function 'magnetic_amplitude' argument 10 names different: declaration 'kz' definition 'KZ'. refnx-0.1.62/src/pnr/magnetic.cc:430:67: note: Function 'magnetic_amplitude' argument 10 names different: declaration 'kz' definition 'KZ'. refnx-0.1.62/src/pnr/magnetic.cc:431:46: style:inconclusive: Function 'magnetic_amplitude' argument 11 names different: declaration 'rho_offset' definition 'rho_index'. [funcArgNamesDifferent] refnx-0.1.62/src/pnr/reflcalc.h:127:54: note: Function 'magnetic_amplitude' argument 11 names different: declaration 'rho_offset' definition 'rho_index'. refnx-0.1.62/src/pnr/magnetic.cc:431:46: note: Function 'magnetic_amplitude' argument 11 names different: declaration 'rho_offset' definition 'rho_index'. refnx-0.1.62/src/refcalc.c:104:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Complex_I [valueFlowBailoutIncompleteVar] refnx-0.1.62/src/refcalc.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Complex_I [valueFlowBailoutIncompleteVar] refnx-0.1.62/src/refcalc.c:87:29: style: Parameter 'a' can be declared as const array [constParameter] refnx-0.1.62/src/refcalc.c:87:54: style: Parameter 'b' can be declared as const array [constParameter] refnx-0.1.62/src/refcalc.cpp:76:7: style: C-style pointer casting [cstyleCast] refnx-0.1.62/src/refcalc.cpp:81:8: style: C-style pointer casting [cstyleCast] refnx-0.1.62/src/refcalc.cpp:84:12: style: C-style pointer casting [cstyleCast] refnx-0.1.62/src/refcalc.cpp:89:36: style: Parameter 'a' can be declared as const array [constParameter] refnx-0.1.62/src/refcalc.cpp:89:61: style: Parameter 'b' can be declared as const array [constParameter] refnx-0.1.62/src/refcalc.cpp:203:10: style: Variable 'num' is assigned a value that is never used. [unreadVariable] refnx-0.1.62/src/refcalc.cpp:203:19: style: Variable 'den' is assigned a value that is never used. [unreadVariable] refnx-0.1.62/src/refcalc.cpp:203:28: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] refnx-0.1.62/src/refcaller.cpp:96:25: style: Same expression on both sides of '-='. [duplicateExpression] refnx-0.1.62/src/refcaller.cpp:124:26: style: Same expression on both sides of '-='. [duplicateExpression] refnx-0.1.62/src/refcaller.cpp:223:23: style: Same expression on both sides of '-='. [duplicateExpression] diff: 2.20.0 refnx-0.1.62/src/event.cpp:128:10: style: The scope of the variable 'scale_microsec' can be reduced. [variableScope] DONE