2026-05-05 14:21 ftp://ftp.de.debian.org/debian/pool/main/u/unclutter/unclutter_8.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 -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: 15 15 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: unclutter/unclutter.c:30:1: portability: Omitted return type of function 'pexit' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unclutter/unclutter.c:34:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unclutter/unclutter.c:75:1: portability: Omitted return type of function 'nameinlist' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unclutter/unclutter.c:96:1: portability: Omitted return type of function 'createnullcursor' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unclutter/unclutter.c:120:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] unclutter/vroot.h:53:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] unclutter/unclutter.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unclutter/unclutter.c:65:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadWindow [valueFlowBailoutIncompleteVar] unclutter/unclutter.c:107:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GXclear [valueFlowBailoutIncompleteVar] unclutter/unclutter.c:169:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cursor [valueFlowBailoutIncompleteVar] unclutter/unclutter.c:66:34: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] unclutter/unclutter.c:194:28: warning: If memory allocation fails, then there is a possible null pointer dereference: realroot [nullPointerOutOfMemory] unclutter/unclutter.c:170:32: note: Assuming allocation function fails unclutter/unclutter.c:170:16: note: Assignment 'realroot=(Window*)malloc(numscreens*sizeof(Window))', assigned value is 0 unclutter/unclutter.c:194:28: note: Null pointer dereference unclutter/unclutter.c:30:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] unclutter/vroot.h:44:18: style: Variable 'save_dpy' can be declared as pointer to const [constVariablePointer] unclutter/unclutter.c:249:25: style: Variable 'lastwindowavoided' is assigned a value that is never used. [unreadVariable] diff: DONE