2025-05-08 01:56 ftp://ftp.de.debian.org/debian/pool/main/s/sluice/sluice_0.03.01.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.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 14 14 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: sluice-0.03.01/sluice.c:482:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:575:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:596:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:618:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:657:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:737:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:805:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:880:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] sluice-0.03.01/sluice.c:1280:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.01/sluice.c:1335:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.01/sluice.c:1371:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.01/sluice.c:824:8: style: Variable 'out_filename' can be declared as pointer to const [constVariablePointer] sluice-0.03.01/sluice.c:825:8: style: Variable 'in_filename' can be declared as pointer to const [constVariablePointer] sluice-0.03.01/sluice.c:826:8: style: Variable 'pid_filename' can be declared as pointer to const [constVariablePointer] diff: DONE