2026-05-05 03:43 ftp://ftp.de.debian.org/debian/pool/main/s/squeekboard/squeekboard_1.43.1.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: 519958a (2026-05-04 15:03:10 +0200) count: 65 64 elapsed-time: 0.5 0.3 head-timing-info: old-timing-info: head results: squeekboard-v1.43.1/eek/eek-types.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] squeekboard-v1.43.1/eek/eek-keyboard.h:22:2: error: #error "Only can be included directly." [preprocessorErrorDirective] squeekboard-v1.43.1/eek/layersurface.c:287:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable phosh_layer_surface_parent_class [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eek/layersurface.c:306:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable phosh_layer_surface_parent_class [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eek/layersurface.c:351:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zwlr_layer_surface_v1_destroy [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eek/layersurface.c:364:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zwlr_layer_surface_v1_destroy [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eek/layersurface.c:390:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eek/layersurface.c:111:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] squeekboard-v1.43.1/eek/layersurface.c:111:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] squeekboard-v1.43.1/eek/layersurface.c:120:53: style: Parameter 'surface' can be declared as pointer to const. However it seems that 'layer_surface_closed' is a callback function, if 'surface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eek/layersurface.c:135:13: note: You might need to cast the function pointer here squeekboard-v1.43.1/eek/layersurface.c:120:53: note: Parameter 'surface' can be declared as pointer to const squeekboard-v1.43.1/eek/layersurface.c:143:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'phosh_layer_surface_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eek/layersurface.c:378:32: note: You might need to cast the function pointer here squeekboard-v1.43.1/eek/layersurface.c:143:49: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/eek/layersurface.c:219:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'phosh_layer_surface_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eek/layersurface.c:379:32: note: You might need to cast the function pointer here squeekboard-v1.43.1/eek/layersurface.c:219:47: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/eek/layersurface.c:222:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:362:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:546:46: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/eek/layersurface.c:552:35: style: Parameter 'layer_shell' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/eek/layersurface.c:553:35: style: Parameter 'wl_output' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/eek/layersurface.c:572:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:590:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:809:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:835:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eek/layersurface.c:847:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eekboard_context_service_parent_class [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:150:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:211:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSettingsSchema [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:73:54: style: Parameter 'object' can be declared as pointer to const. However it seems that 'eekboard_context_service_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:183:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/eekboard/eekboard-context-service.c:73:54: note: Parameter 'object' can be declared as pointer to const squeekboard-v1.43.1/eekboard/eekboard-context-service.c:76:54: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'eekboard_context_service_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:183:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/eekboard/eekboard-context-service.c:76:54: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/eekboard/eekboard-context-service.c:90:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'eekboard_context_service_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/eekboard/eekboard-context-service.c:184:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/eekboard/eekboard-context-service.c:90:52: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/eekboard/eekboard-context-service.c:268:64: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/src/dbus.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:73:5: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:74:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:74:5: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:75:5: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:77:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:77:5: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:78:5: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:81:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:81:9: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:81:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] squeekboard-v1.43.1/src/dbus.c:72:31: note: Assuming allocation function fails squeekboard-v1.43.1/src/dbus.c:72:31: note: Assignment 'self=calloc(1,sizeof(struct DBusHandler))', assigned value is 0 squeekboard-v1.43.1/src/dbus.c:81:29: note: Null pointer dereference squeekboard-v1.43.1/src/dbus.c:29:35: style:inconclusive: Function 'dbus_handler_destroy' argument 1 names different: declaration '' definition 'service'. [funcArgNamesDifferentUnnamed] squeekboard-v1.43.1/src/panel.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PHOSH_TYPE_LAYER_SURFACE [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/panel.c:17:52: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_destroy' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/src/panel.c:89:40: note: You might need to cast the function pointer here squeekboard-v1.43.1/src/panel.c:17:52: note: Parameter 'widget' can be declared as pointer to const squeekboard-v1.43.1/src/panel.c:71:77: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/src/popover.c:8:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/popover.c:22:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/popover.c:32:5: error: Memory leak: proxy [memleak] squeekboard-v1.43.1/src/server-context-service.c:89:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-context-service.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSettingsSchema [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-context-service.c:111:9: error: Memory leak: holder [memleak] squeekboard-v1.43.1/src/server-context-service.c:43:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'server_context_service_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/src/server-context-service.c:76:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/src/server-context-service.c:43:52: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/src/server-context-service.c:58:50: style: Parameter 'object' can be declared as pointer to const. However it seems that 'server_context_service_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/src/server-context-service.c:77:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/src/server-context-service.c:58:50: note: Parameter 'object' can be declared as pointer to const squeekboard-v1.43.1/src/server-context-service.c:60:52: style: Parameter 'value' can be declared as pointer to const. However it seems that 'server_context_service_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/src/server-context-service.c:77:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/src/server-context-service.c:60:52: note: Parameter 'value' can be declared as pointer to const squeekboard-v1.43.1/src/server-context-service.c:61:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'server_context_service_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] squeekboard-v1.43.1/src/server-context-service.c:77:35: note: You might need to cast the function pointer here squeekboard-v1.43.1/src/server-context-service.c:61:52: note: Parameter 'pspec' can be declared as pointer to const squeekboard-v1.43.1/src/server-context-service.c:96:52: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] squeekboard-v1.43.1/src/server-main.c:115:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-main.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-main.c:284:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-main.c:319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-main.c:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] squeekboard-v1.43.1/src/server-main.c:161:9: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] squeekboard-v1.43.1/src/server-main.c:170:9: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] squeekboard-v1.43.1/src/server-main.c:174:9: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] squeekboard-v1.43.1/src/server-main.c:178:9: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] squeekboard-v1.43.1/src/server-main.c:87:28: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/src/server-main.c:267:11: style: Variable 'autostart_id' can be declared as pointer to const [constVariablePointer] squeekboard-v1.43.1/src/server-main.c:445:31: style: Variable 'instance.settings_handler' is assigned a value that is never used. [unreadVariable] squeekboard-v1.43.1/src/wayland.c:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1 [valueFlowBailoutIncompleteVar] diff: head squeekboard-v1.43.1/src/dbus.c:29:35: style:inconclusive: Function 'dbus_handler_destroy' argument 1 names different: declaration '' definition 'service'. [funcArgNamesDifferentUnnamed] DONE