2026-01-11 19:39 ftp://ftp.de.debian.org/debian/pool/main/s/shhopt/shhopt_1.1.7.orig.tar.gz 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 -j8 platform: Linux-6.17.12+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.11 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-12) 15.2.0 cppcheck: head 2.19.0 head-info: 34b9c45c (2026-01-11 10:36:15 +0100) count: 7 7 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: shhopt-1.1.7.orig/example.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shhopt-1.1.7.orig/example.c:30:18: style: Parameter 's' can be declared as pointer to const. However it seems that 'stringFunc' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shhopt-1.1.7.orig/example.c:114:46: note: You might need to cast the function pointer here shhopt-1.1.7.orig/example.c:30:18: note: Parameter 's' can be declared as pointer to const shhopt-1.1.7.orig/example.c:49:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] shhopt-1.1.7.orig/shhopt.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] shhopt-1.1.7.orig/shhopt.c:229:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] shhopt-1.1.7.orig/shhopt.c:136:22: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] shhopt-1.1.7.orig/shhopt.c:161:29: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] diff: DONE