2024-03-26 02:43 ftp://ftp.de.debian.org/debian/pool/main/u/unicorn/unicorn_6.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=ruby --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-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 82f05c8 (2024-03-25 22:58:58 +0100) count: 5 4 elapsed-time: 0.0 0.0 head-timing-info: old-timing-info: head results: unicorn-6.1.0/ext/unicorn_http/httpdate.c:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] unicorn-6.1.0/ext/unicorn_http/httpdate.c:17:22: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] unicorn-6.1.0/ext/unicorn_http/httpdate.c:15:40: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] unicorn-6.1.0/ext/unicorn_http/httpdate.c:17:13: style: Variable 'global' can be declared as pointer to const [constVariablePointer] unicorn-6.1.0/ext/unicorn_http/httpdate.c:20:9: warning: Uninitialized variable: tm [uninitvar] unicorn-6.1.0/ext/unicorn_http/httpdate.c:52:17: note: Calling function 'my_gmtime_r', 2nd argument '&tm' value is unicorn-6.1.0/ext/unicorn_http/httpdate.c:18:6: note: Assuming condition is false unicorn-6.1.0/ext/unicorn_http/httpdate.c:20:9: note: Uninitialized variable: tm diff: head unicorn-6.1.0/ext/unicorn_http/httpdate.c:20:9: warning: Uninitialized variable: tm [uninitvar] unicorn-6.1.0/ext/unicorn_http/httpdate.c:52:17: note: Calling function 'my_gmtime_r', 2nd argument '&tm' value is unicorn-6.1.0/ext/unicorn_http/httpdate.c:18:6: note: Assuming condition is false unicorn-6.1.0/ext/unicorn_http/httpdate.c:20:9: note: Uninitialized variable: tm DONE