2025-11-24 10:31 ftp://ftp.de.debian.org/debian/pool/main/t/tth/tth_4.16+ds.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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 10 10 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: tth-4.16+ds/tools/tthsplit.c:10:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] tth-4.16+ds/tthgold/tthrfcat.c:17:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] tth-4.16+ds/tools/tthsplit.c:24:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tth-4.16+ds/tthgold/tthrfcat.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tth-4.16+ds/tools/tthsplit.c:57:8: warning: Possible null pointer dereference: file [nullPointer] tth-4.16+ds/tools/tthsplit.c:36:6: note: Assignment 'file=NULL', assigned value is 0 tth-4.16+ds/tools/tthsplit.c:37:33: note: Assuming condition is false tth-4.16+ds/tools/tthsplit.c:57:8: note: Null pointer dereference tth-4.16+ds/tools/tthsplit.c:15:11: style: Variable 'ch2' can be declared as pointer to const [constVariablePointer] tth-4.16+ds/tools/tthsplit.c:14:5: style: Unused variable: slen [unusedVariable] tth-4.16+ds/tthgold/tthrfcat.c:22:7: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] tth-4.16+ds/tthgold/tthrfcat.c:22:11: style: Variable 'ch2' can be declared as pointer to const [constVariablePointer] tth-4.16+ds/tthgold/tthrfcat.c:73:5: warning: Uninitialized variable: ifinal [uninitvar] diff: DONE