2025-12-22 17:15 ftp://ftp.de.debian.org/debian/pool/main/libi/libipc-sharelite-perl/libipc-sharelite-perl_0.17.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 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: b66f900 (2025-12-21 20:49:38 +0100) count: 13 13 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: IPC-ShareLite-0.17/sharestuff.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] IPC-ShareLite-0.17/sharestuff.c:258:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] IPC-ShareLite-0.17/sharestuff.c:322:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_RMID [valueFlowBailoutIncompleteVar] IPC-ShareLite-0.17/sharestuff.c:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] IPC-ShareLite-0.17/sharestuff.c:621:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_RMID [valueFlowBailoutIncompleteVar] IPC-ShareLite-0.17/sharestuff.c:112:15: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] IPC-ShareLite-0.17/sharestuff.c:382:35: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] IPC-ShareLite-0.17/sharestuff.c:310:11: style: Variable 'shmaddr' can be declared as pointer to const [constVariablePointer] IPC-ShareLite-0.17/sharestuff.c:438:9: style: Variable 'shmaddr' can be declared as pointer to const [constVariablePointer] IPC-ShareLite-0.17/sharestuff.c:640:11: style: Variable 'shmaddr' can be declared as pointer to const [constVariablePointer] IPC-ShareLite-0.17/sharestuff.c:661:9: style: Variable 'node' can be declared as pointer to const [constVariablePointer] IPC-ShareLite-0.17/sharestuff.c:32:20: style: union member 'my_semun::buf' is never used. [unusedStructMember] IPC-ShareLite-0.17/sharestuff.c:33:19: style: union member 'my_semun::array' is never used. [unusedStructMember] diff: DONE