2024-04-22 05:07 ftp://ftp.de.debian.org/debian/pool/main/s/sluice/sluice_0.03.00.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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 14 14 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: sluice-0.03.00/sluice.c:479:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:572:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:593:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:615:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:654:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:734:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:802:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:877:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] sluice-0.03.00/sluice.c:1277:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.00/sluice.c:1332:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.00/sluice.c:1368:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sluice-0.03.00/sluice.c:821:8: style: Variable 'out_filename' can be declared as pointer to const [constVariablePointer] sluice-0.03.00/sluice.c:822:8: style: Variable 'in_filename' can be declared as pointer to const [constVariablePointer] sluice-0.03.00/sluice.c:823:8: style: Variable 'pid_filename' can be declared as pointer to const [constVariablePointer] diff: DONE