2026-05-05 21:33 ftp://ftp.de.debian.org/debian/pool/main/x/xbacklight/xbacklight_1.2.3.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: 6278f6b (2026-05-05 15:01:04 +0200) count: 11 11 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: xbacklight-1.2.3/xbacklight.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_NONE [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:128:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_INTEGER [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] xbacklight-1.2.3/xbacklight.c:348:8: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xbacklight-1.2.3/xbacklight.c:64:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xbacklight-1.2.3/xbacklight.c:279:16: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xbacklight-1.2.3/xbacklight.c:281:22: style: Variable 'outputs' can be declared as pointer to const [constVariablePointer] xbacklight-1.2.3/xbacklight.c:315:16: style: Variable 'values' can be declared as pointer to const [constVariablePointer] diff: DONE