2025-12-28 08:39 ftp://ftp.de.debian.org/debian/pool/main/h/haskell-mmap/haskell-mmap_0.5.9.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: a5ec929 (2025-12-24 09:21:38 +0100) count: 14 14 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: mmap-0.5.9/cbits/posix.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mmap-0.5.9/cbits/posix.c:89:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] mmap-0.5.9/cbits/posix.c:68:38: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:80:33: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:127:34: style: Parameter 'sizeasptr' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:127:51: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:147:42: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:155:43: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/posix.c:130:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] mmap-0.5.9/cbits/posix.c:132:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] mmap-0.5.9/cbits/win32.c:35:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] mmap-0.5.9/cbits/win32.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_READONLY [valueFlowBailoutIncompleteVar] mmap-0.5.9/cbits/win32.c:161:34: style: Parameter 'sizeasptr' can be declared as pointer to const [constParameterPointer] mmap-0.5.9/cbits/win32.c:166:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] diff: DONE