2026-02-20 08:23 ftp://ftp.de.debian.org/debian/pool/main/c/cog/cog_0.18.5.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --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 -j12 platform: Linux-6.18.9+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-13) 15.2.0 cppcheck: head 2.19.0 head-info: b021c4f2 (2026-02-20 08:24:12 +0100) count: 253 60 elapsed-time: 0.3 0.1 head-timing-info: old-timing-info: head results: cog-0.18.5/core/cog-directory-files-handler.h:12:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-platform.h:13:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-modules.h:11:6: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-host-routes-handler.h:11:6: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-prefix-routes-handler.h:11:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-request-handler.h:12:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-utils.h:11:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-webkit-utils.h:12:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-shell.h:11:3: error: #error "Do not include this header directly, use instead" [preprocessorErrorDirective] cog-0.18.5/core/cog-utils.h:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEnumClass [valueFlowBailoutIncompleteVar] cog-0.18.5/core/cog-utils.h:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEnumClass [valueFlowBailoutIncompleteVar] cog-0.18.5/core/cog-gamepad.c:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cog-launcher.c:60:2: error: failed to evaluate #if condition, undefined function-like macro invocation: WEBKIT_CHECK_VERSION( ... ) [syntaxError] cog-0.18.5/core/cog-gamepad.c:19:50: style: struct member 'CogGamepadBackend::device' is never used. [unusedStructMember] cog-0.18.5/core/cog-gamepad-manette.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ManetteMonitorIter [valueFlowBailoutIncompleteVar] cog-0.18.5/core/cog-gamepad-manette.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPE_GAMEPAD_AXIS_LEFT_STICK_X [valueFlowBailoutIncompleteVar] cog-0.18.5/core/cog-gamepad-manette.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPE_GAMEPAD_BUTTON_BOTTOM [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cog.c:25:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COG_MODULEDIR [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:56:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:130:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:210:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:257:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cog-0.18.5/launcher/cogctl.c:332:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/common/cog-gl-utils.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_SHADER [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/common/cog-gl-utils.c:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINK_STATUS [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/common/cog-gl-utils.c:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_CONTEXT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/common/cog-gl-utils.c:228:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_IMAGE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/common/cog-gl-utils.c:230:5: style: Redundant condition: The condition 'rotation == 2' is redundant since 'rotation <= 3' is sufficient. [redundantCondition] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_VALUE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:103:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_MODE_ACTIVATABLE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_VALUE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:98:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:150:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable browser_settings_dialog_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:345:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:207:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/headless/cog-platform-headless.c:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_CONTINUE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/headless/cog-platform-headless.c:80:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/headless/cog-platform-headless.c:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_headless_platform_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/headless/cog-platform-headless.c:106:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:74:109: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserCellRendererVariantGetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:315:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:74:109: note: Parameter 'pspec' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:112:115: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserCellRendererVariantSetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:316:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:112:115: note: Parameter 'pspec' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:74:110: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserSettingsDialogSetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:199:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:74:110: note: Parameter 'pspec' can be declared as pointer to const cog-0.18.5/platform/drm/kms.c:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_MODE_CREATE_DUMB [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:303:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_MODE_DESTROY_DUMB [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:326:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_IOCTL_MODE_MAP_DUMB [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:359:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_CONNECTED [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:417:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:501:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/headless/cog-platform-headless.c:134:64: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/headless/cog-platform-headless.c:152:45: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:168:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERR [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:182:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:317:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:364:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:382:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:404:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/os-compatibility.c:48:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/os-compatibility.c:133:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:135:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NORMAL [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:158:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_INPUT_HINT_SPELLCHECK [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_INPUT_METHOD [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_INPUT_HINT_INHIBIT_OSK [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:317:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pending_preedit [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_im_context_wl_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:481:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_OTHER [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl.c:523:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zwp_text_input_v3_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-popup-menu-wl.c:167:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-popup-menu-wl.c:231:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cairo_surface_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-popup-menu-wl.c:324:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_ARGB8888 [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/kms.c:506:50: style: Parameter 'plane' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWP_TEXT_INPUT_V1_CONTENT_PURPOSE_NORMAL [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:161:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_INPUT_HINT_LOWERCASE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:211:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_INPUT_HINT_INHIBIT_OSK [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_MOD_INVALID [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:290:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_MOD_NAME_SHIFT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZWP_TEXT_INPUT_V1_PREEDIT_STYLE_NONE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:447:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_keyboard_modifier_shift [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:498:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_im_context_wl_v1_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:638:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zwp_text_input_v1_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:395:50: style:inconclusive: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:68:66: note: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:395:50: note: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:396:50: style:inconclusive: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:69:66: note: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:396:50: note: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:134:13: style: Local variable 'ret' shadows outer variable [shadowVariable] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:115:9: note: Shadowed declaration cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:134:13: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:98:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_EXTENSIONS [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:124:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VENDOR [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:176:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:279:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:319:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:334:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_axis_event_type_mask_2d [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:651:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:709:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:773:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-platform-wl.c:831:36: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:265:9: error: Allocation with g_application_get_default, if doesn't release it. [leakNoVarFunctionCall] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:440:9: error: Allocation with g_application_get_default, if doesn't release it. [leakNoVarFunctionCall] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:174:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:174:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:191:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:191:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:217:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:217:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:229:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:229:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:273:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:273:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:295:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:295:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:315:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:315:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:332:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:332:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:381:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:381:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:392:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:392:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:401:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:401:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:409:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:409:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:416:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:416:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:423:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:423:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:430:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:430:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:450:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:450:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:482:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:482:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:708:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:708:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:719:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:719:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:729:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:729:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:741:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:741:29: note: Shadow variable cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:671:38: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_setup' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:783:29: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:671:38: note: Parameter 'platform' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:49: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_get_view_backend' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:784:40: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:49: note: Parameter 'platform' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:74: style: Parameter 'related_view' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_get_view_backend' is a callback function, if 'related_view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:784:40: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:74: note: Parameter 'related_view' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:705:32: style: Parameter 'view' can be declared as pointer to const. However it seems that 'on_title_change' is a callback function, if 'view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:751:5: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:705:32: note: Parameter 'view' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:765:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_supported' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:774:19: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:765:23: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:789:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:794:41: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:806:41: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:26:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:33:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:112:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:139:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy_listener [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:195:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_FB_MODIFIERS [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:234:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_XRGB8888 [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:292:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_TRANSFER_WRITE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:339:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_PAGE_FLIP_EVENT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:351:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:390:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_PAGE_FLIP_EVENT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:453:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:468:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_IMPORT_WL_BUFFER [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:511:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_IMPORT_FD_MODIFIER [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:580:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:590:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:636:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:651:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/wayland/cog-popup-menu-wl.c:303:50: style: Parameter 'popup_menu' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/common/egl-proc-address.h:20:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CLIENT_MESSAGE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_SHIFT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:245:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:323:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:423:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_NOTICE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:527:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_EXPOSURE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:609:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_KEYMAP_COMPILE_NO_FLAGS [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:647:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:716:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:739:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:756:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_source_unref [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:842:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_x11_platform_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:866:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:891:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:814:9: style: Condition '!init_glib()' is always false [knownConditionTrueFalse] cog-0.18.5/platform/x11/cog-platform-x11.c:814:20: note: Calling function 'init_glib' returns 1 cog-0.18.5/platform/x11/cog-platform-x11.c:814:9: note: Condition '!init_glib()' is always false cog-0.18.5/platform/x11/cog-platform-x11.c:882:9: error: Resource leak: d [resourceLeak] cog-0.18.5/platform/drm/cog-platform-drm.c:248:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:317:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drmModeFreeResources [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:344:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable available_nodes [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:384:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_NODE_PRIMARY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:619:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_CLIENT_CAP_UNIVERSAL_PLANES [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:666:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gbm_device_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:683:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:691:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_eglGetPlatformDisplay [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:739:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_KEY_UP [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:802:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_touch_event_type_null [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:888:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1027:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1070:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable libinput_device_unref [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GDebugOnceBoolean_ [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1217:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable libinput_device_unref [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1266:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_touch_event_raw [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1296:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERR [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1314:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINPUT_KEY_STATE_PRESSED [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1331:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_source_unref [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1359:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1388:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1494:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_drm_platform_parent_class [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1536:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1579:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/drm/cog-platform-drm.c:1643:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] cog-0.18.5/platform/x11/cog-platform-x11.c:240:43: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/x11/cog-platform-x11.c:309:56: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/x11/cog-platform-x11.c:335:53: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/x11/cog-platform-x11.c:397:43: style: Variable 'configure_notify' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/x11/cog-platform-x11.c:413:41: style: Variable 'client_message' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/x11/cog-platform-x11.c:909:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/x11/cog-platform-x11.c:914:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/x11/cog-platform-x11.c:926:40: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:79:34: style: Checking if unsigned expression '*cursor_index-*anchor_index' is less than zero. [unsignedLessThanZero] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:89:31: style: Checking if unsigned expression '*cursor_index-(4000/2)' is less than zero. [unsignedLessThanZero] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:94:27: style: Checking if unsigned expression 'mid-(4000/2)' is less than zero. [unsignedLessThanZero] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:641:53: style:inconclusive: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:61:69: note: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:641:53: note: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:250:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_enter' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:475:14: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:250:25: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:251:45: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_enter' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:475:14: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:251:45: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:559:31: style: Local variable 'buffer' shadows outer variable [shadowVariable] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:555:28: note: Shadowed declaration cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:559:31: note: Shadow variable cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:252:38: style: Parameter 'surface' can be declared as pointer to const. However it seems that 'text_input_enter' is a callback function, if 'surface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:475:14: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:252:38: note: Parameter 'surface' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:258:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_leave' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:476:14: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:258:24: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:258:56: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_leave' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:476:14: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:258:56: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:265:44: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:296:36: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_input_panel_state' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:478:26: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:296:36: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:296:68: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_input_panel_state' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:478:26: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:296:68: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:410:35: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_cursor_position' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:483:24: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:410:35: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:411:55: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_cursor_position' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:483:24: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:411:55: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:444:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:459:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_language' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:486:17: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:459:28: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:460:48: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_language' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:486:17: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:460:48: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:467:34: style: Parameter 'data' can be declared as pointer to const. However it seems that 'text_input_text_direction' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:487:23: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:467:34: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:468:54: style: Parameter 'text_input' can be declared as pointer to const. However it seems that 'text_input_text_direction' is a callback function, if 'text_input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:487:23: note: You might need to cast the function pointer here cog-0.18.5/platform/wayland/cog-im-context-wl-v1.c:468:54: note: Parameter 'text_input' can be declared as pointer to const cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:152:78: style: Parameter 'buffer_resource' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:298:14: style: Variable 'src' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:343:39: style: Parameter 'props' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:156:21: error: Uninitialized variable: buffer->buffer_resource [uninitvar] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:596:30: error: Uninitialized variables: buffer.fb_id, buffer.bo, buffer.buffer_resource, buffer.export [uninitvar] cog-0.18.5/platform/drm/cog-platform-drm.c:1482:9: style: Condition '!init_glib()' is always false [knownConditionTrueFalse] cog-0.18.5/platform/drm/cog-platform-drm.c:1482:20: note: Calling function 'init_glib' returns 1 cog-0.18.5/platform/drm/cog-platform-drm.c:1482:9: note: Condition '!init_glib()' is always false cog-0.18.5/platform/drm/cog-platform-drm.c:1579:13: portability: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'CogGLRendererRotation {aka signed int}'. [invalidPrintfArgType_uint] cog-0.18.5/platform/drm/cog-platform-drm.c:1579:13: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'CogGLRendererRotation {aka signed int}'. [invalidPrintfArgType_uint] cog-0.18.5/platform/drm/cog-platform-drm.c:875:18: style: Checking if unsigned expression 'cursor.x' is less than zero. [unsignedLessThanZero] cog-0.18.5/platform/drm/cog-platform-drm.c:881:18: style: Checking if unsigned expression 'cursor.y' is less than zero. [unsignedLessThanZero] cog-0.18.5/platform/drm/cog-platform-drm.c:380:20: style: Variable 'device' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/drm/cog-platform-drm.c:393:20: style: Variable 'device' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/drm/cog-platform-drm.c:436:30: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] cog-0.18.5/platform/drm/cog-platform-drm.c:1017:72: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'input_configure_device' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1577:71: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1017:72: note: Parameter 'platform' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1202:69: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'input_interface_open_restricted' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1247:28: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1202:69: note: Parameter 'user_data' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1208:49: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'input_interface_close_restricted' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1248:29: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1208:49: note: Parameter 'user_data' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1378:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_supported' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1389:19: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1378:23: note: Parameter 'data' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1563:99: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cog_drm_platform_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1620:34: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1563:99: note: Parameter 'pspec' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1600:93: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cog_drm_platform_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1621:34: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1600:93: note: Parameter 'pspec' can be declared as pointer to const cog-0.18.5/platform/drm/cog-platform-drm.c:1666:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-platform-drm.c:1671:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-platform-drm.c:1683:40: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] cog-0.18.5/platform/drm/cog-platform-drm.c:994:18: style: Variable 'event.x_axis' is assigned a value that is never used. [unreadVariable] cog-0.18.5/platform/drm/cog-platform-drm.c:995:18: style: Variable 'event.y_axis' is assigned a value that is never used. [unreadVariable] diff: head cog-0.18.5/core/cog-gamepad-manette.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPE_GAMEPAD_AXIS_LEFT_STICK_X [valueFlowBailoutIncompleteVar] head cog-0.18.5/core/cog-gamepad-manette.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPE_GAMEPAD_BUTTON_BOTTOM [valueFlowBailoutIncompleteVar] head cog-0.18.5/core/cog-gamepad-manette.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ManetteMonitorIter [valueFlowBailoutIncompleteVar] head cog-0.18.5/core/cog-gamepad.c:19:50: style: struct member 'CogGamepadBackend::device' is never used. [unusedStructMember] head cog-0.18.5/core/cog-gamepad.c:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] 2.19.0 cog-0.18.5/core/cog-utils.h:18:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] head cog-0.18.5/core/cog-utils.h:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEnumClass [valueFlowBailoutIncompleteVar] head cog-0.18.5/core/cog-utils.h:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEnumClass [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cog-launcher.c:60:2: error: failed to evaluate #if condition, undefined function-like macro invocation: WEBKIT_CHECK_VERSION( ... ) [syntaxError] head cog-0.18.5/launcher/cog.c:25:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COG_MODULEDIR [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:130:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:210:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:257:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:332:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:56:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] head cog-0.18.5/launcher/cogctl.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/common/cog-gl-utils.c:228:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_IMAGE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/common/cog-gl-utils.c:230:5: style: Redundant condition: The condition 'rotation == 2' is redundant since 'rotation <= 3' is sufficient. [redundantCondition] head cog-0.18.5/platform/common/cog-gl-utils.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_SHADER [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/common/cog-gl-utils.c:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINK_STATUS [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/common/cog-gl-utils.c:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_CONTEXT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/common/egl-proc-address.h:20:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:134:13: style: Local variable 'ret' shadows outer variable [shadowVariable] cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:115:9: note: Shadowed declaration cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:134:13: note: Shadow variable head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:168:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERR [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:182:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:317:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:364:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:382:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:395:50: style:inconclusive: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:68:66: note: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:395:50: note: Function 'cog_drm_gles_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_device'. head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:396:50: style:inconclusive: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:69:66: note: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:396:50: note: Function 'cog_drm_gles_renderer_new' argument 2 names different: declaration 'display' definition 'egl_display'. head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:404:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-gles-renderer.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:112:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:139:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy_listener [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:152:78: style: Parameter 'buffer_resource' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:156:21: error: Uninitialized variable: buffer->buffer_resource [uninitvar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:195:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_FB_MODIFIERS [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:234:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_XRGB8888 [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:26:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:292:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_TRANSFER_WRITE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:298:14: style: Variable 'src' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:339:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_PAGE_FLIP_EVENT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:33:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:343:39: style: Parameter 'props' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:351:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:390:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_MODE_PAGE_FLIP_EVENT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:453:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:468:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_IMPORT_WL_BUFFER [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:511:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBM_BO_IMPORT_FD_MODIFIER [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:559:31: style: Local variable 'buffer' shadows outer variable [shadowVariable] cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:555:28: note: Shadowed declaration cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:559:31: note: Shadow variable head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:580:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:590:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:596:30: error: Uninitialized variables: buffer.fb_id, buffer.bo, buffer.buffer_resource, buffer.export [uninitvar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:636:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:641:53: style:inconclusive: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. [funcArgNamesDifferent] cog-0.18.5/platform/drm/cog-drm-renderer.h:61:69: note: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:641:53: note: Function 'cog_drm_modeset_renderer_new' argument 1 names different: declaration 'dev' definition 'gbm_dev'. head cog-0.18.5/platform/drm/cog-drm-modeset-renderer.c:651:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1017:72: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'input_configure_device' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1577:71: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1017:72: note: Parameter 'platform' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1027:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1070:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable libinput_device_unref [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GDebugOnceBoolean_ [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1202:69: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'input_interface_open_restricted' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1247:28: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1202:69: note: Parameter 'user_data' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1208:49: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'input_interface_close_restricted' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1248:29: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1208:49: note: Parameter 'user_data' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1217:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable libinput_device_unref [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1266:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_touch_event_raw [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1296:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERR [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1314:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBINPUT_KEY_STATE_PRESSED [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1331:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_source_unref [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1359:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1378:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_supported' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1389:19: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1378:23: note: Parameter 'data' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1388:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1482:9: style: Condition '!init_glib()' is always false [knownConditionTrueFalse] cog-0.18.5/platform/drm/cog-platform-drm.c:1482:20: note: Calling function 'init_glib' returns 1 cog-0.18.5/platform/drm/cog-platform-drm.c:1482:9: note: Condition '!init_glib()' is always false head cog-0.18.5/platform/drm/cog-platform-drm.c:1494:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_drm_platform_parent_class [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1536:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1563:99: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cog_drm_platform_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1620:34: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1563:99: note: Parameter 'pspec' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1579:13: portability: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'CogGLRendererRotation {aka signed int}'. [invalidPrintfArgType_uint] head cog-0.18.5/platform/drm/cog-platform-drm.c:1579:13: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'CogGLRendererRotation {aka signed int}'. [invalidPrintfArgType_uint] head cog-0.18.5/platform/drm/cog-platform-drm.c:1579:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1600:93: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cog_drm_platform_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/drm/cog-platform-drm.c:1621:34: note: You might need to cast the function pointer here cog-0.18.5/platform/drm/cog-platform-drm.c:1600:93: note: Parameter 'pspec' can be declared as pointer to const head cog-0.18.5/platform/drm/cog-platform-drm.c:1643:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:1666:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:1671:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:1683:40: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:248:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:317:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drmModeFreeResources [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:344:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable available_nodes [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:380:20: style: Variable 'device' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:384:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_NODE_PRIMARY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:393:20: style: Variable 'device' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:436:30: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/drm/cog-platform-drm.c:619:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRM_CLIENT_CAP_UNIVERSAL_PLANES [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:666:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gbm_device_destroy [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:683:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:691:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_eglGetPlatformDisplay [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:739:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_KEY_UP [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:802:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_touch_event_type_null [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:875:18: style: Checking if unsigned expression 'cursor.x' is less than zero. [unsignedLessThanZero] head cog-0.18.5/platform/drm/cog-platform-drm.c:881:18: style: Checking if unsigned expression 'cursor.y' is less than zero. [unsignedLessThanZero] head cog-0.18.5/platform/drm/cog-platform-drm.c:888:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/drm/cog-platform-drm.c:994:18: style: Variable 'event.x_axis' is assigned a value that is never used. [unreadVariable] head cog-0.18.5/platform/drm/cog-platform-drm.c:995:18: style: Variable 'event.y_axis' is assigned a value that is never used. [unreadVariable] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:103:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_MODE_ACTIVATABLE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:112:115: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserCellRendererVariantSetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:316:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:112:115: note: Parameter 'pspec' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_VALUE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.19.0 cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:213:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:345:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_VALUE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:74:109: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserCellRendererVariantGetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:315:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-cell-renderer-variant.c:74:109: note: Parameter 'pspec' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:150:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable browser_settings_dialog_parent_class [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:207:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:74:110: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'browserSettingsDialogSetProperty' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:199:34: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:74:110: note: Parameter 'pspec' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-gtk-settings-dialog.c:98:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:124:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VENDOR [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:174:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:174:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:176:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:191:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:191:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:217:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:217:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:229:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:229:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:265:9: error: Allocation with g_application_get_default, if doesn't release it. [leakNoVarFunctionCall] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:273:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:273:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:279:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:295:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:295:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:315:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:315:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:319:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:332:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:332:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:334:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_axis_event_type_mask_2d [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:381:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:381:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:392:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:392:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:401:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:401:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:409:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:409:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:416:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:416:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:423:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:423:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:430:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:430:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:440:9: error: Allocation with g_application_get_default, if doesn't release it. [leakNoVarFunctionCall] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:450:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:450:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:482:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:482:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:651:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:671:38: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_setup' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:783:29: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:671:38: note: Parameter 'platform' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:49: style: Parameter 'platform' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_get_view_backend' is a callback function, if 'platform' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:784:40: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:49: note: Parameter 'platform' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:74: style: Parameter 'related_view' can be declared as pointer to const. However it seems that 'cog_gtk4_platform_get_view_backend' is a callback function, if 'related_view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:784:40: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:697:74: note: Parameter 'related_view' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:705:32: style: Parameter 'view' can be declared as pointer to const. However it seems that 'on_title_change' is a callback function, if 'view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:751:5: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:705:32: note: Parameter 'view' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:708:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:708:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:709:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:719:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:719:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:729:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:729:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:741:29: style: Local variable 'win' shadows outer variable [shadowVariable] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:88:31: note: Shadowed declaration cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:741:29: note: Shadow variable head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:765:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_supported' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:774:19: note: You might need to cast the function pointer here cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:765:23: note: Parameter 'data' can be declared as pointer to const head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:773:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:789:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:794:41: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:806:41: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/gtk4/cog-platform-gtk4.c:98:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_EXTENSIONS [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/headless/cog-platform-headless.c:106:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/headless/cog-platform-headless.c:134:64: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/headless/cog-platform-headless.c:152:45: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/headless/cog-platform-headless.c:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_CONTINUE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/headless/cog-platform-headless.c:80:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/headless/cog-platform-headless.c:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_headless_platform_parent_class [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/wayland/cog-platform-wl.c:831:36: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] head cog-0.18.5/platform/x11/cog-platform-x11.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CLIENT_MESSAGE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_SHIFT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:240:43: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:245:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:309:56: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:323:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_button [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:335:53: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_input_pointer_event_type_motion [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:397:43: style: Variable 'configure_notify' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:413:41: style: Variable 'client_message' can be declared as pointer to const [constVariablePointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:423:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_NOTICE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:527:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_EXPOSURE [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:609:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_KEYMAP_COMPILE_NO_FLAGS [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:647:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:716:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_NO_DISPLAY [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:739:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:756:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_source_unref [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:814:9: style: Condition '!init_glib()' is always false [knownConditionTrueFalse] cog-0.18.5/platform/x11/cog-platform-x11.c:814:20: note: Calling function 'init_glib' returns 1 cog-0.18.5/platform/x11/cog-platform-x11.c:814:9: note: Condition '!init_glib()' is always false head cog-0.18.5/platform/x11/cog-platform-x11.c:842:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cog_x11_platform_parent_class [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:866:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wpe_view_backend_exportable_fdo_destroy [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:882:9: error: Resource leak: d [resourceLeak] head cog-0.18.5/platform/x11/cog-platform-x11.c:891:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ONCE_INIT [valueFlowBailoutIncompleteVar] head cog-0.18.5/platform/x11/cog-platform-x11.c:909:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:914:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] head cog-0.18.5/platform/x11/cog-platform-x11.c:926:40: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] DONE