2026-03-26 15:12 ftp://ftp.de.debian.org/debian/pool/main/x/xtv/xtv_1.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -j6 platform: Linux-6.18.15+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.3.70 compiler: g++ (Debian 15.2.0-16) 15.2.0 cppcheck: head 2.20.0 head-info: 6c25934c (2026-03-26 09:00:39 +0100) count: 7 7 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: xtv-1.1.orig/xtv.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viewportWidgetClass [valueFlowBailoutIncompleteVar] xtv-1.1.orig/xtv.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtv-1.1.orig/xtv.c:59:13: style: Variable 'app.grab' is assigned a value that is never used. [unreadVariable] xtv-1.1.orig/Grab.c:94:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GXcopy [valueFlowBailoutIncompleteVar] xtv-1.1.orig/Grab.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xtv-1.1.orig/Grab.c:115:12: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] xtv-1.1.orig/Grab.c:122:16: style: Parameter 'event' can be declared as pointer to const. However it seems that 'Redisplay' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtv-1.1.orig/Grab.c:59:4: note: You might need to cast the function pointer here xtv-1.1.orig/Grab.c:122:16: note: Parameter 'event' can be declared as pointer to const diff: DONE