2026-05-27 22:35 ftp://ftp.de.debian.org/debian/pool/main/libx/libxdamage/libxdamage_1.1.7.orig.tar.xz 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 -j1 platform: Linux-6.8.0-117-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: 6e46c6b (2026-05-27 18:39:55 +0200) count: 12 12 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: libXdamage-1.1.7/src/Xdamage.c:70:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDamageNumberEvents [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:135:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xglobal_lock [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Xglobal_lock [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:233:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DamageNotifyMore [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DamageCreate [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DamageDestroy [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DamageSubtract [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DamageAdd [valueFlowBailoutIncompleteVar] libXdamage-1.1.7/src/Xdamage.c:208:31: style: Parameter 'dpy' can be declared as pointer to const. However it seems that 'XDamageCloseDisplay' is a callback function, if 'dpy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libXdamage-1.1.7/src/Xdamage.c:107:51: note: You might need to cast the function pointer here libXdamage-1.1.7/src/Xdamage.c:208:31: note: Parameter 'dpy' can be declared as pointer to const libXdamage-1.1.7/src/Xdamage.c:216:28: style: Variable 'info' can be declared as pointer to const [constVariablePointer] libXdamage-1.1.7/src/Xdamage.c:253:28: style: Variable 'info' can be declared as pointer to const [constVariablePointer] libXdamage-1.1.7/src/Xdamage.c:305:28: style: Variable 'info' can be declared as pointer to const [constVariablePointer] diff: DONE