2026-05-04 19:19 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-statmod/r-cran-statmod_1.5.1.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 18 18 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: statmod/src/expectedDeviance.c:362:15: style: Local variable 'i' shadows outer variable [shadowVariable] statmod/src/expectedDeviance.c:345:11: note: Shadowed declaration statmod/src/expectedDeviance.c:362:15: note: Shadow variable statmod/src/expectedDeviance.c:367:15: style: Local variable 'i' shadows outer variable [shadowVariable] statmod/src/expectedDeviance.c:345:11: note: Shadowed declaration statmod/src/expectedDeviance.c:367:15: note: Shadow variable statmod/src/expectedDeviance.c:65:24: style: Parameter 'mu' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:65:61: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:77:25: style: Parameter 'prob' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:77:36: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:77:75: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:77:85: style: Parameter 'slen' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:77:96: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:344:26: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:344:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:344:73: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:344:83: style: Parameter 'slen' can be declared as pointer to const [constParameterPointer] statmod/src/expectedDeviance.c:140:23: style: Variable 'x' is assigned a value that is never used. [unreadVariable] statmod/src/expectedDeviance.c:199:23: style: Variable 'x' is assigned a value that is never used. [unreadVariable] statmod/src/expectedDeviance.c:251:23: style: Variable 'x' is assigned a value that is never used. [unreadVariable] statmod/src/expectedDeviance.c:299:23: style: Variable 'x' is assigned a value that is never used. [unreadVariable] statmod/src/init.c:29:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] diff: DONE