2025-06-25 16:15 ftp://ftp.de.debian.org/debian/pool/main/w/wmitime/wmitime_0.5.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.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 129055d (2025-06-24 18:36:34 +0200) count: 10 10 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: dockapps-26db447/wmitime.c:137:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] dockapps-26db447/wmitime.c:158:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wmitime_master_xpm [valueFlowBailoutIncompleteVar] dockapps-26db447/wmitime.c:340:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] dockapps-26db447/wmitime.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dockapps-26db447/wmitime.c:598:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dockapps-26db447/wmitime.c:176:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dockapps-26db447/wmitime.c:240:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dockapps-26db447/wmitime.c:95:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] dockapps-26db447/wmitime.c:271:13: style: Variable 'srcx' is assigned a value that is never used. [unreadVariable] dockapps-26db447/wmitime.c:271:21: style: Variable 'srcy' is assigned a value that is never used. [unreadVariable] diff: DONE