mutter-47~alpha-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/cally/cally-actor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/cally/cally-root.c:285:3: warning[deadcode.DeadStores]: Value stored to 'index' is never read
#  283|     cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (stage));
#  284|   
#  285|->   index = g_slist_index (priv->stage_list, cally_stage);
#  286|   
#  287|     priv->stage_list = g_slist_remove (priv->stage_list,

Error: CPPCHECK_WARNING: [#def3]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/cally/cally-text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-actor-box.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-backend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-binding-pool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def8]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:402:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
#  400|           continue;
#  401|   
#  402|->       get_child_size (child, opposite_orientation,
#  403|   		      sizes[i].minimum_size,
#  404|   		      &child_min, &child_nat);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def9]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c: scope_hint: In function ‘distribute_natural_allocation’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:606:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/graphene-1.0/graphene-gobject.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-types.h:30: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-layout-manager.h:31: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:53: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:566:3: note: in expansion of macro ‘g_return_val_if_fail’
#                                                       └─────────────────┘
#                                                                ^
#  604|         float glue = (extra_space + i) / (i + 1.0f);
#  605|         float gap =
#  606|->         sizes[(spreading[i])].natural_size - sizes[(spreading[i])].minimum_size;
#  607|   
#  608|         float extra = MIN (glue, gap);

Error: CLANG_WARNING: [#def10]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:821:53: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
#  819|             else
#  820|               {
#  821|->               child_allocation.y1 = y + (child_size - sizes[i].minimum_size) / 2;
#  822|                 child_allocation.y2 = child_allocation.y1 + sizes[i].minimum_size;
#  823|               }

Error: CLANG_WARNING: [#def11]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-box-layout.c:836:53: warning[core.UndefinedBinaryOperatorResult]: The right operand of '-' is a garbage value
#  834|             else
#  835|               {
#  836|->               child_allocation.x1 = x + (child_size - sizes[i].minimum_size) / 2;
#  837|                 child_allocation.x2 = child_allocation.x1 + sizes[i].minimum_size;
#  838|               }

Error: CPPCHECK_WARNING: [#def12]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-click-action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-event.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-event.c: scope_hint: In function ‘generate_event_description’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-event.c:2531:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘event’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-types.h:44: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl1-context.h:39: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl.h:48: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-backend.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-backend-private.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-event.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-event.c:1099:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2529|   generate_event_description (const ClutterEvent *event)
# 2530|   {
# 2531|->   switch (event->type)
# 2532|       {
# 2533|       case CLUTTER_KEY_PRESS:

Error: CPPCHECK_WARNING: [#def15]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-flow-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def16]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-flow-layout.c:327:11: warning[deadcode.DeadStores]: Value stored to 'total_min_width' is never read
#  325|             total_spacing = self->col_spacing * (self->line_count - 1);
#  326|   
#  327|->           total_min_width += total_spacing;
#  328|             total_natural_width += total_spacing;
#  329|           }

Error: CLANG_WARNING: [#def17]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-flow-layout.c:344:11: warning[deadcode.DeadStores]: Value stored to 'total_min_width' is never read
#  342|             total_spacing = self->col_spacing * (self->line_count - 1);
#  343|   
#  344|->           total_min_width += total_spacing;
#  345|             total_natural_width += total_spacing;
#  346|           }

Error: CLANG_WARNING: [#def18]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-flow-layout.c:518:11: warning[deadcode.DeadStores]: Value stored to 'total_min_height' is never read
#  516|             total_spacing = self->row_spacing * (self->line_count - 1);
#  517|   
#  518|->           total_min_height += total_spacing;
#  519|             total_natural_height += total_spacing;
#  520|           }

Error: CLANG_WARNING: [#def19]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-flow-layout.c:535:11: warning[deadcode.DeadStores]: Value stored to 'total_min_height' is never read
#  533|             total_spacing = self->col_spacing * self->line_count;
#  534|   
#  535|->           total_min_height += total_spacing;
#  536|             total_natural_height += total_spacing;
#  537|           }

Error: CPPCHECK_WARNING: [#def20]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-frame-clock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def21]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c: scope_hint: In function ‘gesture_update_motion_point’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:239:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
#  237|     clutter_event_get_coords (event, &motion_x, &motion_y);
#  238|   
#  239|->   clutter_event_free (point->last_event);
#  240|     point->last_event = clutter_event_copy (event);
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c: scope_hint: In function ‘gesture_update_release_point’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:260:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
#  258|     clutter_event_get_coords (event, &point->release_x, &point->release_y);
#  259|   
#  260|->   clutter_event_free (point->last_event);
#  261|     point->last_event = clutter_event_copy (event);
#  262|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c: scope_hint: In function ‘gesture_point_pass_threshold’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:290:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘point’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-debug.h:3: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:87: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:1339:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-actor.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-main.h:30: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-debug.h:5: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1719:40: note: in definition of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/glib-2.0/gobject/gtype.h:1720:12: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.h:39:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/glib-2.0/gobject/gtype.h:1720:12: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.h:39:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:1339:3: note: in expansion of macro ‘g_return_if_fail’
#  288|     clutter_gesture_action_get_threshold_trigger_distance (action, &threshold_x, &threshold_y);
#  289|   
#  290|->   if ((fabsf (point->press_y - motion_y) < threshold_y) &&
#  291|         (fabsf (point->press_x - motion_x) < threshold_x))
#  292|       return TRUE;

Error: CLANG_WARNING: [#def25]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:478:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  476|             }
#  477|   
#  478|->         gesture_unregister_point (gesture_action, position);
#  479|         }
#  480|         break;

Error: CLANG_WARNING: [#def26]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture-action.c:492:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  490|             }
#  491|   
#  492|->         gesture_unregister_point (gesture_action, position);
#  493|         }
#  494|         break;

Error: CPPCHECK_WARNING: [#def27]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def28]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture.c: scope_hint: In function ‘debug_message’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture.c:185:19: warning[-Wunused-but-set-variable]: variable ‘name’ set but not used
#  185 |       const char *name;
#      |                   ^~~~
#  183|         va_list args;
#  184|         char *str;
#  185|->       const char *name;
#  186|   
#  187|         va_start (args, format);

Error: CLANG_WARNING: [#def29]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture.c:190:7: warning[deadcode.DeadStores]: Value stored to 'name' is never read
#  188|   
#  189|         str = g_strdup_vprintf (format, args);
#  190|->       name = clutter_actor_meta_get_name (CLUTTER_ACTOR_META (self));
#  191|   
#  192|         CLUTTER_NOTE (GESTURES,

Error: CPPCHECK_WARNING (CWE-758): [#def30]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-gesture.c:818: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  816|       default:
#  817|         g_assert_not_reached ();
#  818|->       break;
#  819|       }
#  820|   }

Error: CPPCHECK_WARNING: [#def31]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-grid-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def32]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-grid-layout.c:685:42: warning[core.DivideZero]: Division by zero
#  683|                     if (force_expand || line->expand)
#  684|                       {
#  685|->                       line_extra = extra / expand;
#  686|                         line->minimum += line_extra;
#  687|                         extra -= line_extra;

Error: CPPCHECK_WARNING: [#def33]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-input-pointer-a11y.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def34]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-keyframe-transition.c:447:26: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'frames')
#  445|     for (i = 0; i < n_key_frames; i++)
#  446|       {
#  447|->       KeyFrame *frame = &g_array_index (priv->frames, KeyFrame, i);
#  448|   
#  449|         frame->key = key_frames[i];

Error: CLANG_WARNING: [#def35]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-keyframe-transition.c:487:26: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'frames')
#  485|     for (i = 0; i < n_values; i++)
#  486|       {
#  487|->       KeyFrame *frame = &g_array_index (priv->frames, KeyFrame, i);
#  488|   
#  489|         if (frame->interval)

Error: CLANG_WARNING: [#def36]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-keyframe-transition.c:532:26: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'frames')
#  530|     for (i = 0; i < n_modes; i++)
#  531|       {
#  532|->       KeyFrame *frame = &g_array_index (priv->frames, KeyFrame, i);
#  533|   
#  534|         frame->mode = modes[i];

Error: CLANG_WARNING: [#def37]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-keyframe-transition.c:579:26: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from field 'frames')
#  577|     for (i = 0; i < n_key_frames; i++)
#  578|       {
#  579|->       KeyFrame *frame = &g_array_index (priv->frames, KeyFrame, i);
#  580|         GValue value = G_VALUE_INIT;
#  581|         char *error = NULL;

Error: CPPCHECK_WARNING: [#def38]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-keyval.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-paint-node.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-paint-volume.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def41]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-paint-volume.c:132:3: warning[unix.Malloc]: Argument to g_free() is the address of the local variable 'projected_pv', which is not memory allocated by malloc()
#  130|       return;
#  131|   
#  132|->   g_free (pv);
#  133|   }
#  134|   

Error: CLANG_WARNING: [#def42]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-paint-volume.c:132:3: warning[unix.Malloc]: Argument to g_free() is the address of the local variable 'tmp', which is not memory allocated by malloc()
#  130|       return;
#  131|   
#  132|->   g_free (pv);
#  133|   }
#  134|   

Error: CLANG_WARNING: [#def43]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-paint-volume.c:132:3: warning[unix.Malloc]: Argument to g_free() is the address of the local variable 'volume', which is not memory allocated by malloc()
#  130|       return;
#  131|   
#  132|->   g_free (pv);
#  133|   }
#  134|   

Error: CPPCHECK_WARNING: [#def44]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-pick-stack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def45]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-shader-effect.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def48]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def49]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage.c:1060:24: warning[deadcode.DeadStores]: Value stored to 'priv' during its initialization is never read
# 1058|   {
# 1059|     ClutterActor *actor = CLUTTER_ACTOR (stage);
# 1060|->   ClutterStagePrivate *priv = clutter_stage_get_instance_private (stage);
# 1061|     float stage_width, stage_height;
# 1062|     ClutterStageView *view = NULL;

Error: COMPILER_WARNING (CWE-563): [#def50]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage.c: scope_hint: In function ‘clutter_stage_notify_grab_on_pointer_entry’
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage.c:3600:24: warning[-Wunused-variable]: unused variable ‘priv’
# 3600 |   ClutterStagePrivate *priv = clutter_stage_get_instance_private (stage);
#      |                        ^~~~
# 3598|     ClutterEventType event_type = CLUTTER_NOTHING;
# 3599|     ClutterActor *topmost, *deepmost;
# 3600|->   ClutterStagePrivate *priv = clutter_stage_get_instance_private (stage);
# 3601|     if (!entry->current_actor)
# 3602|       return;

Error: CLANG_WARNING: [#def51]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-stage.c:3600:24: warning[deadcode.DeadStores]: Value stored to 'priv' during its initialization is never read
# 3598|     ClutterEventType event_type = CLUTTER_NOTHING;
# 3599|     ClutterActor *topmost, *deepmost;
# 3600|->   ClutterStagePrivate *priv = clutter_stage_get_instance_private (stage);
# 3601|     if (!entry->current_actor)
# 3602|       return;

Error: CPPCHECK_WARNING: [#def52]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-swipe-action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def53]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-text-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def54]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def55]
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-timeline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def56]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl-pango/cogl-pango-fontmap.c:65:31: warning[unix.Malloc]: Potential leak of memory pointed to by 'priv'
#   63|     g_autofree CoglPangoFontMapPriv *priv = g_new0 (CoglPangoFontMapPriv, 1);
#   64|   
#   65|->   _COGL_GET_CONTEXT (context, NULL);
#   66|   
#   67|     priv->ctx = g_object_ref (context);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl-pango/cogl-pango-render.c: scope_hint: In function ‘cogl_pango_renderer_get_cached_glyph’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl-pango/cogl-pango-render.c:497:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘renderer’
#  495|   {
#  496|     CoglPangoRenderer *priv = COGL_PANGO_RENDERER (renderer);
#  497|->   CoglPangoRendererCaches *caches = (priv->use_mipmapping ?
#  498|                                        &priv->mipmap_caches :
#  499|                                        &priv->no_mipmap_caches);

Error: CPPCHECK_WARNING: [#def58]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def59]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c: scope_hint: In function ‘_cogl_attribute_register_attribute_name’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c:144:7: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-util.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c:140:21: note: in expansion of macro ‘g_strdup’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute.c: scope_hint: In function ‘_cogl_attribute_register_attribute_name’
/usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
#  142|     name_state->name = NULL;
#  143|     name_state->name_index = name_index;
#  144|->   if (strncmp (name, "cogl_", 5) == 0)
#  145|       {
#  146|         if (!validate_cogl_attribute_name (name,

Error: CPPCHECK_WARNING: [#def60]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap-conversion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c: scope_hint: In function ‘_cogl_bitmap_new_shared’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:270:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  268|                                     NULL /* data */);
#  269|   
#  270|->   bmp->shared_bmp = g_object_ref (shared_bmp);
#  271|   
#  272|     return bmp;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c: scope_hint: In function ‘cogl_bitmap_new_from_buffer’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:293:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-util.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:33: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:285:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-buffer.h:70:38: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:285:25: note: in expansion of macro ‘COGL_IS_BUFFER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:285:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-buffer.h:70:38: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmap.c:285:25: note: in expansion of macro ‘COGL_IS_BUFFER’
#  291|                                     NULL /* data */);
#  292|   
#  293|->   bmp->buffer = g_object_ref (buffer);
#  294|     bmp->data = GINT_TO_POINTER (offset);
#  295|   

Error: CLANG_WARNING: [#def63]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-blend-string.c:538:15: warning[deadcode.DeadStores]: Value stored to 'state' is never read
#  536|                     p = endp;
#  537|                   }
#  538|->               state = PARSER_ARG_STATE_MAYBE_COLOR_MASK;
#  539|               }
#  540|             else

Error: CLANG_WARNING: [#def64]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-blend-string.c:688:11: warning[deadcode.DeadStores]: Value stored to 'state' is never read
#  686|               }
#  687|             arg->factor.is_one = TRUE;
#  688|->           state = PARSER_ARG_STATE_EXPECT_END;
#  689|   
#  690|             G_GNUC_FALLTHROUGH;

Error: GCC_ANALYZER_WARNING (CWE-465): [#def65]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-blend-string.c: scope_hint: In function ‘parse_argument’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-blend-string.c:702:10: warning[-Wanalyzer-deref-before-check]: check of ‘p’ for NULL after already dereferencing it
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-blend-string.c:39: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:86:29: note: in definition of macro ‘g_ascii_isspace’
#  700|           }
#  701|       }
#  702|->   while (p++);
#  703|   
#  704|   error:

Error: CPPCHECK_WARNING: [#def66]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-clip-stack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def67]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-clip-stack.c:372:3: warning[unix.Malloc]: Use of memory after it is freed
#  370|     _cogl_clip_stack_unref (stack);
#  371|   
#  372|->   return new_top;
#  373|   }
#  374|   

Error: CPPCHECK_WARNING: [#def68]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-color.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def69]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-context.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def70]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-debug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def71]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-feature-private.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer.c:1086:6: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer.c: scope_hint: In function ‘cogl_blit_framebuffer’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-debug.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer.c:36: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer.c:1211:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1084|                                         CoglFramebufferState  state)
# 1085|   {
# 1086|->   ctx->driver_vtable->flush_framebuffer_state (ctx,
# 1087|                                                  draw_buffer,
# 1088|                                                  read_buffer,

Error: CPPCHECK_WARNING: [#def73]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-half-float.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def74]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-half-float.c:97: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   95|     const int flt_m = fi.i & 0x7fffff;
#   96|     const int flt_e = (fi.i >> 23) & 0xff;
#   97|->   const int flt_s = (fi.i >> 31) & 0x1;
#   98|     int s, e, m = 0;
#   99|     uint16_t result;

Error: CPPCHECK_WARNING: [#def75]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-indices.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def76]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:436:15: warning[core.NullDereference]: Access to field 'op' results in a dereference of a null pointer (loaded from variable 'entry')
#  434|     if (depth == 0)
#  435|       {
#  436|->       switch (entry->op)
#  437|           {
#  438|           case COGL_MATRIX_OP_LOAD_IDENTITY:

Error: CLANG_WARNING: [#def77]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:573:7: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'head0')
#  571|       }
#  572|   
#  573|->   if (head0->data != head1->data)
#  574|       return FALSE;
#  575|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c: scope_hint: In function ‘cogl_matrix_entry_calculate_translation’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:573:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
#  571|       }
#  572|   
#  573|->   if (head0->data != head1->data)
#  574|       return FALSE;
#  575|   

Error: CLANG_WARNING: [#def79]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:573:22: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'head1')
#  571|       }
#  572|   
#  573|->   if (head0->data != head1->data)
#  574|       return FALSE;
#  575|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:573:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
#  571|       }
#  572|   
#  573|->   if (head0->data != head1->data)
#  574|       return FALSE;
#  575|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-matrix-stack.c:583:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
#  581|     while (count--)
#  582|       {
#  583|->       if (head0->data != head1->data)
#  584|           break;
#  585|         common_ancestor0 = head0;

Error: CPPCHECK_WARNING: [#def82]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-meta-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def83]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-debug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def84]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer-state.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def85]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c: scope_hint: In function ‘_cogl_pipeline_layer_compare_differences’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:565:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
#  563|     common_ancestor0 = head0;
#  564|     common_ancestor1 = head1;
#  565|->   head0 = head0->next;
#  566|     head1 = head1->next;
#  567|     count = MIN (len0, len1) - 1;

Error: CLANG_WARNING: [#def87]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:565:11: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'head0')
#  563|     common_ancestor0 = head0;
#  564|     common_ancestor1 = head1;
#  565|->   head0 = head0->next;
#  566|     head1 = head1->next;
#  567|     count = MIN (len0, len1) - 1;

Error: CPPCHECK_WARNING (CWE-476): [#def88]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:566: warning[nullPointer]: Possible null pointer dereference: head1
#  564|     common_ancestor1 = head1;
#  565|     head0 = head0->next;
#  566|->   head1 = head1->next;
#  567|     count = MIN (len0, len1) - 1;
#  568|     while (count--)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:566:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
#  564|     common_ancestor1 = head1;
#  565|     head0 = head0->next;
#  566|->   head1 = head1->next;
#  567|     count = MIN (len0, len1) - 1;
#  568|     while (count--)

Error: CLANG_WARNING: [#def90]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:566:11: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'head1')
#  564|     common_ancestor1 = head1;
#  565|     head0 = head0->next;
#  566|->   head1 = head1->next;
#  567|     count = MIN (len0, len1) - 1;
#  568|     while (count--)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:570:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
#  568|     while (count--)
#  569|       {
#  570|->       if (head0->data != head1->data)
#  571|           break;
#  572|         common_ancestor0 = head0;

Error: CLANG_WARNING: [#def92]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:598:10: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  596|                      CoglPipelineLayerStateComparator comparator)
#  597|   {
#  598|->   return comparator (authorities0[state_index], authorities1[state_index]);
#  599|   }
#  600|   

Error: CPPCHECK_WARNING (CWE-758): [#def93]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:619: error[shiftTooManyBits]: Shifting 64-bit value by 9998 bits is undefined behaviour
#  617|         for (i = 0; TRUE; i++)
#  618|           {
#  619|->           unsigned long state = (1L<<i);
#  620|   
#  621|             if (state & found)

Error: CLANG_WARNING: [#def94]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-layer.c:665:12: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  663|         CoglPipelineLayerStateIndex state_index =
#  664|           COGL_PIPELINE_LAYER_STATE_TEXTURE_DATA_INDEX;
#  665|->       if (!_cogl_pipeline_layer_texture_data_equal (authorities0[state_index],
#  666|                                                       authorities1[state_index]))
#  667|           return FALSE;

Error: CPPCHECK_WARNING: [#def95]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-snippet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def96]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def97]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c: scope_hint: In function ‘_cogl_pipeline_uniforms_state_equal’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:276:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:256:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-context-private.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:274:3: note: in expansion of macro ‘COGL_FLAGS_FOREACH_START’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:114:27: note: in expansion of macro ‘_cogl_util_ffsl’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:274:3: note: in expansion of macro ‘COGL_FLAGS_FOREACH_START’
#  274|     COGL_FLAGS_FOREACH_START (differences, n_longs, i)
#  275|       {
#  276|->       const CoglBoxedValue *value0 = values0[i];
#  277|         const CoglBoxedValue *value1 = values1[i];
#  278|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def98]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:277:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:256:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:221:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:274:3: note: in expansion of macro ‘COGL_FLAGS_FOREACH_START’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:114:27: note: in expansion of macro ‘_cogl_util_ffsl’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:274:3: note: in expansion of macro ‘COGL_FLAGS_FOREACH_START’
#  275|       {
#  276|         const CoglBoxedValue *value0 = values0[i];
#  277|->       const CoglBoxedValue *value1 = values1[i];
#  278|   
#  279|         if (value0 == NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c: scope_hint: In function ‘_cogl_pipeline_compare_uniform_differences’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1450:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head0’
# 1448|     common_ancestor0 = head0;
# 1449|     common_ancestor1 = head1;
# 1450|->   head0 = head0->next;
# 1451|     head1 = head1->next;
# 1452|     count = MIN (len0, len1) - 1;

Error: CLANG_WARNING: [#def100]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1450:11: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'head0')
# 1448|     common_ancestor0 = head0;
# 1449|     common_ancestor1 = head1;
# 1450|->   head0 = head0->next;
# 1451|     head1 = head1->next;
# 1452|     count = MIN (len0, len1) - 1;

Error: CPPCHECK_WARNING (CWE-476): [#def101]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1451: warning[nullPointer]: Possible null pointer dereference: head1
# 1449|     common_ancestor1 = head1;
# 1450|     head0 = head0->next;
# 1451|->   head1 = head1->next;
# 1452|     count = MIN (len0, len1) - 1;
# 1453|     while (count--)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1451:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
# 1449|     common_ancestor1 = head1;
# 1450|     head0 = head0->next;
# 1451|->   head1 = head1->next;
# 1452|     count = MIN (len0, len1) - 1;
# 1453|     while (count--)

Error: CLANG_WARNING: [#def103]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1451:11: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'head1')
# 1449|     common_ancestor1 = head1;
# 1450|     head0 = head0->next;
# 1451|->   head1 = head1->next;
# 1452|     count = MIN (len0, len1) - 1;
# 1453|     while (count--)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-state.c:1455:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘head1’
# 1453|     while (count--)
# 1454|       {
# 1455|->       if (head0->data != head1->data)
# 1456|           break;
# 1457|         common_ancestor0 = head0;

Error: CPPCHECK_WARNING: [#def105]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def106]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline.c:1901: warning[nullPointer]: Possible null pointer dereference: head1
# 1899|     common_ancestor1 = head1;
# 1900|     head0 = head0->next;
# 1901|->   head1 = head1->next;
# 1902|     count = MIN (len0, len1) - 1;
# 1903|     while (count--)

Error: CPPCHECK_WARNING (CWE-758): [#def107]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline.c:1945: error[shiftTooManyBits]: Shifting 64-bit value by 9998 bits is undefined behaviour
# 1943|         for (i = 0; TRUE; i++)
# 1944|           {
# 1945|->           unsigned long state = (1L<<i);
# 1946|   
# 1947|             if (state & found)

Error: CLANG_WARNING: [#def108]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline.c:2509:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2507|         if (differences & current_state)
# 2508|           {
# 2509|->           CoglPipeline *authority = authorities[i];
# 2510|             state_hash_functions[i] (authority, &state);
# 2511|             final_hash = _cogl_util_one_at_a_time_hash (final_hash, &state.hash,

Error: CPPCHECK_WARNING: [#def109]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-poll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def110]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-rectangle-map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def111]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-renderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def112]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def113]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:166: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  164|             e = 0x7ff;
#  165|             m = 0;
#  166|->           result.u = (s << 63) + (e << 52) + m;
#  167|             result.u -= 1;
#  168|             return result.f;

Error: CPPCHECK_WARNING (CWE-758): [#def114]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:176: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  174|       e = 0;
#  175|   
#  176|->   result.u = (s << 63) + (e << 52) + m;
#  177|     return result.f;
#  178|   }

Error: CPPCHECK_WARNING (CWE-758): [#def115]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:203: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  201|             e = 0xff;
#  202|             m = 0;
#  203|->           result.u = (s << 31) + (e << 23) + m;
#  204|             result.u -= !round_increment;
#  205|             return result.f;

Error: CPPCHECK_WARNING (CWE-758): [#def116]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:216: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  214|       e = 0;
#  215|   
#  216|->   result.u = (s << 31) + (e << 23) + m;
#  217|     return result.f;
#  218|   }

Error: CLANG_WARNING: [#def117]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:497:39: warning[core.NullDereference]: Array access (from variable 'm_out') results in a null pointer dereference
#  495|       }
#  496|     if (word_jam)
#  497|->     m_out[index_word_lo (size_words)] |= 1;
#  498|   }
#  499|   

Error: CPPCHECK_WARNING (CWE-758): [#def118]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:650: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  648|       {
#  649|         di_type result;
#  650|->       result.u = (s << 63) + ((m ? e : 0) << 52) + (m << (shift_dist - 10));
#  651|         return result.f;
#  652|       }

Error: CPPCHECK_WARNING (CWE-758): [#def119]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:823: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  821|             di_type result;
#  822|             e = 0x7ff;
#  823|->           result.u = (s << 63) + (e << 52) + 0x1;
#  824|             return result.f;
#  825|           }

Error: CPPCHECK_WARNING (CWE-758): [#def120]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:857: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  855|   
#  856|         di_type result;
#  857|->       result.u = (s << 63) + (e << 52) + (m_diff << shift_dist);
#  858|         return result.f;
#  859|       }

Error: CPPCHECK_WARNING (CWE-758): [#def121]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:988: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  986|             di_type result;
#  987|             e = 0x7ff;
#  988|->           result.u = (s << 63) + (e << 52) + 0x1;
#  989|             return result.f;
#  990|           }

Error: CPPCHECK_WARNING (CWE-758): [#def122]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:994: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
#  992|         di_type result;
#  993|         e = 0x7ff;
#  994|->       result.u = (s << 63) + (e << 52) + 0;
#  995|         return result.f;
#  996|       }

Error: CPPCHECK_WARNING (CWE-758): [#def123]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1010: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1008|             di_type result;
# 1009|             e = 0x7ff;
# 1010|->           result.u = (s << 63) + (e << 52) + 0x1;
# 1011|             return result.f;
# 1012|           }

Error: CPPCHECK_WARNING (CWE-758): [#def124]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1016: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1014|         di_type result;
# 1015|         e = 0x7ff;
# 1016|->       result.u = (s << 63) + (e << 52) + 0;
# 1017|         return result.f;
# 1018|       }

Error: CPPCHECK_WARNING (CWE-758): [#def125]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1026: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1024|             /* 'a' is zero. Return zero */
# 1025|             di_type result;
# 1026|->           result.u = (s << 63) + 0;
# 1027|             return result.f;
# 1028|           }

Error: CPPCHECK_WARNING (CWE-758): [#def126]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1037: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1035|             /* 'b' is zero. Return zero */
# 1036|             di_type result;
# 1037|->           result.u = (s << 63) + 0;
# 1038|             return result.f;
# 1039|           }

Error: CPPCHECK_WARNING (CWE-758): [#def127]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1119: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1117|             di_type result;
# 1118|             e = 0x7ff;
# 1119|->           result.u = (s << 63) + (e << 52) + 0x1;
# 1120|             return result.f;
# 1121|           }

Error: CPPCHECK_WARNING (CWE-758): [#def128]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1128: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1126|             di_type result;
# 1127|             e = 0x7ff;
# 1128|->           result.u = (s << 63) + (e << 52) + 0x1;
# 1129|             return result.f;
# 1130|           }

Error: CPPCHECK_WARNING (CWE-758): [#def129]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1135: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1133|         di_type result;
# 1134|         e = 0x7ff;
# 1135|->       result.u = (s << 63) + (e << 52) + 0;
# 1136|         return result.f;
# 1137|       }

Error: CPPCHECK_WARNING (CWE-758): [#def130]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1157: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1155|             di_type result;
# 1156|             e = 0x7ff;
# 1157|->           result.u = (s << 63) + (e << 52) + 0x1;
# 1158|             return result.f;
# 1159|           }

Error: CPPCHECK_WARNING (CWE-758): [#def131]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1166: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1164|             di_type result;
# 1165|             e = 0x7ff;
# 1166|->           result.u = (s << 63) + (e << 52) + 0x1;
# 1167|             return result.f;
# 1168|           }

Error: CPPCHECK_WARNING (CWE-758): [#def132]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1173: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1171|         di_type result;
# 1172|         e = 0x7ff;
# 1173|->       result.u = (s << 63) + (e << 52) + 0;
# 1174|         return result.f;
# 1175|       }

Error: CPPCHECK_WARNING (CWE-758): [#def133]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1334: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
# 1332|                 /* Return zero */
# 1333|                 di_type result;
# 1334|->               result.u = (s << 63) + 0;
# 1335|                 return result.f;
# 1336|               }

Error: CPPCHECK_WARNING (CWE-758): [#def134]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1443: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1441|             fi_type result;
# 1442|             e = 0xff;
# 1443|->           result.u = (s << 31) + (e << 23) + 0x1;
# 1444|             return result.f;
# 1445|           }

Error: CPPCHECK_WARNING (CWE-758): [#def135]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1452: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1450|             fi_type result;
# 1451|             e = 0xff;
# 1452|->           result.u = (s << 31) + (e << 23) + 0x1;
# 1453|             return result.f;
# 1454|           }

Error: CPPCHECK_WARNING (CWE-758): [#def136]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1459: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1457|         fi_type result;
# 1458|         e = 0xff;
# 1459|->       result.u = (s << 31) + (e << 23) + 0;
# 1460|         return result.f;
# 1461|       }

Error: CPPCHECK_WARNING (CWE-758): [#def137]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1481: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1479|             fi_type result;
# 1480|             e = 0xff;
# 1481|->           result.u = (s << 31) + (e << 23) + 0x1;
# 1482|             return result.f;
# 1483|           }

Error: CPPCHECK_WARNING (CWE-758): [#def138]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1490: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1488|             fi_type result;
# 1489|             e = 0xff;
# 1490|->           result.u = (s << 31) + (e << 23) + 0x1;
# 1491|             return result.f;
# 1492|           }

Error: CPPCHECK_WARNING (CWE-758): [#def139]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1497: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1495|         fi_type result;
# 1496|         e = 0xff;
# 1497|->       result.u = (s << 31) + (e << 23) + 0;
# 1498|         return result.f;
# 1499|       }

Error: CPPCHECK_WARNING (CWE-758): [#def140]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1591: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1589|                 /* Return zero */
# 1590|                 fi_type result;
# 1591|->               result.u = (s << 31) + 0;
# 1592|                 return result.f;
# 1593|               }

Error: CPPCHECK_WARNING (CWE-758): [#def141]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1647: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1645|             e = 0xff;
# 1646|             m = 0x1;
# 1647|->           result.u = (s << 31) + (e << 23) + m;
# 1648|             return result.f;
# 1649|           }

Error: CPPCHECK_WARNING (CWE-758): [#def142]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1654: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1652|         fi_type result;
# 1653|         e = 0xff;
# 1654|->       result.u = (s << 31) + (e << 23) + m;
# 1655|         return result.f;
# 1656|       }

Error: CPPCHECK_WARNING (CWE-758): [#def143]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1663: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1661|         fi_type result;
# 1662|         e = 0;
# 1663|->       result.u = (s << 31) + (e << 23) + m;
# 1664|         return result.f;
# 1665|       }

Error: CPPCHECK_WARNING (CWE-758): [#def144]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-soft-float.c:1673: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1671|         fi_type result;
# 1672|         e = 0;
# 1673|->       result.u = (s << 31) + (e << 23) + m;
# 1674|         return result.f;
# 1675|       }

Error: CPPCHECK_WARNING: [#def145]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-spans.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def146]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-sub-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def147]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c:192:7: warning[deadcode.DeadStores]: Value stored to 'n_x_slices' is never read
#  190|           }
#  191|   
#  192|->       n_x_slices = 1;
#  193|         n_y_slices = 1;
#  194|   

Error: CLANG_WARNING: [#def148]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c:193:7: warning[deadcode.DeadStores]: Value stored to 'n_y_slices' is never read
#  191|   
#  192|         n_x_slices = 1;
#  193|->       n_y_slices = 1;
#  194|   
#  195|         /* Init span arrays */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def149]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c: scope_hint: In function ‘_cogl_texture_2d_sliced_set_waste’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c:469:19: warning[-Wanalyzer-null-argument]: use of NULL ‘dst’ where non-null expected
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-debug.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c:38: included_from: Included from here.
/usr/include/glib-2.0/glib/garray.h:69:52: note: in definition of macro ‘g_array_index’
/usr/include/glib-2.0/glib/garray.h:69:52: note: in definition of macro ‘g_array_index’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  467|                 for (wx = 0; wx < x_span->waste; wx++)
#  468|                   {
#  469|->                   memcpy (dst, src, bpp);
#  470|                     dst += bpp;
#  471|                   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def150]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture-2d-sliced.c:527:15: warning[-Wanalyzer-null-argument]: use of NULL ‘dst’ where non-null expected
/usr/include/glib-2.0/glib/garray.h:69:52: note: in definition of macro ‘g_array_index’
/usr/include/glib-2.0/glib/garray.h:69:52: note: in definition of macro ‘g_array_index’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  525|             for (wy = 0; wy < y_span->waste; wy++)
#  526|               {
#  527|->               memcpy (dst, src, intersect_width * bpp);
#  528|                 dst += intersect_width * bpp;
#  529|   

Error: CPPCHECK_WARNING: [#def151]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def152]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-texture.c:1202:22: warning[deadcode.DeadStores]: Although the value stored to 'format' is used in the enclosing expression, the value is never actually read from 'format'
# 1200|             {
# 1201|               if (COGL_PIXEL_FORMAT_CAN_HAVE_PREMULT (format))
# 1202|->               return format |= COGL_PREMULT_BIT;
# 1203|               else
# 1204|                 return COGL_PIXEL_FORMAT_RGBA_8888_PRE;

Error: CLANG_WARNING: [#def153]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-trace.c:140:3: warning[deadcode.DeadStores]: Value stored to 'locker' is never read
#  138|     g_autoptr (GMutexLocker) locker = NULL;
#  139|   
#  140|->   locker = g_mutex_locker_new (&cogl_trace_mutex);
#  141|     if (cogl_trace_context)
#  142|       {

Error: CPPCHECK_WARNING: [#def154]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def155]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-xlib-renderer.c:182:38: warning[core.NullDereference]: Access to field 'screens' results in a dereference of a null pointer (loaded from field 'xdpy')
#  180|   
#  181|     resources = XRRGetScreenResources (xlib_renderer->xdpy,
#  182|->                                      DefaultRootWindow (xlib_renderer->xdpy));
#  183|   
#  184|     mtk_x11_error_trap_push (xlib_renderer->xdpy);

Error: CPPCHECK_WARNING: [#def156]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-bitmap-gl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def157]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-buffer-gl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def158]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: scope_hint: In function ‘ensure_texture_lookup_generated’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:431:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shader_state’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:39: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:994:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-node-private.h:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-pipeline-private.h:37: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-attribute-private.h:38: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer-driver.h:30: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-framebuffer-private.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-onscreen-template-private.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-display-private.h:35: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-context-private.h:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:429:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  429|     _COGL_GET_CONTEXT (ctx, NO_RETVAL);
#  430|   
#  431|->   if (shader_state->unit_state[unit_index].sampled)
#  432|       return;
#  433|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: scope_hint: In function ‘ensure_arg_generated’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:614:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:994:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
#  612|           int unit_index = _cogl_pipeline_layer_get_unit_index (layer);
#  613|           /* Create a sampler uniform for this layer if we haven't already */
#  614|->         if (!shader_state->unit_state[unit_index].combine_constant_used)
#  615|             {
#  616|               g_string_append_printf (shader_state->header,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: scope_hint: In function ‘append_masked_combine’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:676:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:994:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
#  674|   {
#  675|     CoglPipelineFragendShaderState *shader_state = get_shader_state (pipeline);
#  676|->   GString *shader_source = shader_state->header;
#  677|   
#  678|     g_string_append_printf (shader_state->header,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: scope_hint: In function ‘ensure_layer_generated’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:803:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:994:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:780:3: note: in expansion of macro ‘_cogl_list_for_each’
#  801|   
#  802|     /* Make a global variable for the result of the layer code */
#  803|->   g_string_append_printf (shader_state->header,
#  804|                             "vec4 cogl_layer%i;\n",
#  805|                             layer_index);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c: scope_hint: In function ‘_cogl_pipeline_fragend_glsl_end’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:996:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-fragend-glsl.c:994:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  994|     _COGL_GET_CONTEXT (ctx, FALSE);
#  995|   
#  996|->   if (shader_state->source)
#  997|       {
#  998|         const char *source_strings[2];

Error: CPPCHECK_WARNING: [#def164]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c: scope_hint: In function ‘_cogl_bind_gl_texture_transient’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:181:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:38: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:169:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:94:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  179|     unit = _cogl_get_texture_unit (1);
#  180|   
#  181|->   if (unit->gl_texture == gl_texture && !unit->dirty_gl_texture)
#  182|       return;
#  183|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c: scope_hint: In function ‘flush_layers_common_gl_state_cb’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:535:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:94:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:477:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-flags.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-debug.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:36: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:482:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:482:7: note: in expansion of macro ‘G_UNLIKELY’
#  533|          * aren't seeing a recycled texture name so we have to bind.
#  534|          */
#  535|->       if (unit->gl_texture != gl_texture)
#  536|           {
#  537|             if (unit_index == 1)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:563:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:94:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:477:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:482:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:482:7: note: in expansion of macro ‘G_UNLIKELY’
#  561|   
#  562|     g_object_ref (layer);
#  563|->   if (unit->layer != NULL)
#  564|       g_object_unref (unit->layer);
#  565|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c: scope_hint: In function ‘compare_layer_differences_cb’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:751:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:94:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  749|     CoglTextureUnit *unit = _cogl_get_texture_unit (state->i);
#  750|   
#  751|->   if (unit->layer == layer)
#  752|       state->layer_differences[state->i] = unit->layer_changes_since_flush;
#  753|     else if (unit->layer)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c: scope_hint: In function ‘_cogl_pipeline_flush_gl_state’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:1142:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-opengl.c:94:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
# 1140|      */
# 1141|     unit1 = _cogl_get_texture_unit (1);
# 1142|->   if (cogl_pipeline_get_n_layers (pipeline) > 1 && unit1->dirty_gl_texture)
# 1143|       {
# 1144|         _cogl_set_active_texture_unit (1);

Error: CPPCHECK_WARNING: [#def170]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-465): [#def171]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c: scope_hint: In function ‘_cogl_pipeline_progend_glsl_flush_uniforms’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:633:19: warning[-Wanalyzer-deref-before-check]: check of ‘pipeline’ for NULL after already dereferencing it
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:39: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:573:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  631|       }
#  632|   
#  633|->   while (pipeline && data.n_differences > 0)
#  634|       {
#  635|         if (pipeline->differences & COGL_PIPELINE_STATE_UNIFORMS)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c: scope_hint: In function ‘_cogl_pipeline_progend_glsl_pre_paint’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1049:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1030:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
# 1047|                                              projection_entry,
# 1048|                                              (needs_flip &&
# 1049|->                                             program_state->flip_uniform ==
# 1050|                                               -1));
# 1051|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1062:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1030:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
# 1060|         float v[16];
# 1061|   
# 1062|->       if (program_state->mvp_uniform != -1)
# 1063|           need_modelview = need_projection = TRUE;
# 1064|         else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1136:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-progend-glsl.c:1030:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
# 1134|       }
# 1135|   
# 1136|->   if (program_state->flip_uniform != -1
# 1137|         && program_state->flushed_flip_state != needs_flip)
# 1138|       {

Error: CPPCHECK_WARNING: [#def175]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c: scope_hint: In function ‘_cogl_pipeline_vertend_glsl_add_layer’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:518:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:38: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:514:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  516|     shader_state = get_shader_state (pipeline);
#  517|   
#  518|->   if (shader_state->source == NULL)
#  519|       return TRUE;
#  520|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c: scope_hint: In function ‘_cogl_pipeline_vertend_glsl_end’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:587:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-pipeline-vertend-glsl.c:583:3: note: in expansion of macro ‘_COGL_GET_CONTEXT’
#  585|     shader_state = get_shader_state (pipeline);
#  586|   
#  587|->   if (shader_state->source)
#  588|       {
#  589|         const char *source_strings[2];

Error: CPPCHECK_WARNING: [#def178]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/cogl-util-gl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def179]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/gl/cogl-texture-driver-gl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def180]
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/driver/gl/gles/cogl-texture-driver-gles.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def181]
mutter-47_alpha-build/mutter-47.alpha/mtk/mtk/mtk-region.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def182]
mutter-47_alpha-build/mutter-47.alpha/mtk/mtk/mtk-x11-errors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def183]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/clutter/clutter/clutter-marshal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def184]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-debug-control.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def185]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-display-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def186]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-gsd-color.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def187]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-gsd-power-screen.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def188]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-idle-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def189]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-input-capture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def190]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-input-mapping.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def191]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-login1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def192]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-remote-desktop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def193]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-rtkit1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def194]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-screen-cast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def195]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-service-channel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def196]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/src/meta-dbus-sysprof3-profiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def197]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspect2stjevxs/Cogl-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def198]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspect2stjevxs/Cogl-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def199]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspect3hntnlwa/Cally-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def200]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspect3hntnlwa/Cally-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def201]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectejx09d50/Meta-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def202]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectejx09d50/Meta-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def203]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectf8fb0cf_/CoglPango-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def204]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectf8fb0cf_/CoglPango-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def205]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectge6b351c/Mtk-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def206]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectge6b351c/Mtk-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def207]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectne5ct_ql/MetaTest-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def208]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspectne5ct_ql/MetaTest-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def209]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspects4ii0rwf/Clutter-15.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def210]
mutter-47_alpha-build/mutter-47.alpha/redhat-linux-build/tmp-introspects4ii0rwf/Clutter-15.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def211]
mutter-47_alpha-build/mutter-47.alpha/src/backends/edid-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def212]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-backend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def213]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-barrier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def214]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-barrier.c:216:23: warning[deadcode.DeadStores]: Value stored to 'priv' during its initialization is never read
#  214|   {
#  215|     MetaBarrier *barrier = META_BARRIER (initable);
#  216|->   MetaBarrierPrivate *priv = meta_barrier_get_instance_private (barrier);
#  217|   
#  218|     priv = meta_barrier_get_instance_private (barrier);

Error: CPPCHECK_WARNING: [#def215]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-color-device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def216]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-color-store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def217]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-crtc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-686): [#def218]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘MetaDbusSessionManager *’ {aka ‘struct _MetaDbusSessionManager *’} for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def219]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c: scope_hint: In function ‘append_property’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def220]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def221]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c: scope_hint: In function ‘append_property’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘MetaDbusSessionManager *’ {aka ‘struct _MetaDbusSessionManager *’} for variadic argument 1 of ‘var_args’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.h:21: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:23: included_from: Included from here.
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def222]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c: scope_hint: In function ‘append_property’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def223]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def224]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘MetaDbusSessionManager *’ {aka ‘struct _MetaDbusSessionManager *’} for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def225]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:77:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c: scope_hint: In function ‘append_property’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def226]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘const char *’ for variadic argument 1 of ‘var_args’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:325:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:327:3: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: GCC_ANALYZER_WARNING (CWE-685): [#def227]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: warning[-Wanalyzer-va-list-exhausted]: ‘var_args’ has no more arguments (1 consumed)
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:377:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:380:7: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:381:7: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:383:7: note: in expansion of macro ‘g_array_append_val’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:321:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-dbus-session-manager.c:324:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’ (24) ‘var_args’ has no more arguments (1 consumed)
#  322|   
#  323|     ptype = G_PARAM_SPEC_VALUE_TYPE (pspec);
#  324|->   G_VALUE_COLLECT_INIT (&value, ptype, var_args, 0, &error);
#  325|     g_assert (!error);
#  326|   

Error: CPPCHECK_WARNING: [#def228]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-capture-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def229]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-capture-session.c:843:54: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  841|         g_dbus_method_invocation_return_error_literal (invocation, G_DBUS_ERROR,
#  842|                                                        G_DBUS_ERROR_ACCESS_DENIED,
#  843|->                                                      error->message);
#  844|         return G_DBUS_METHOD_INVOCATION_HANDLED;
#  845|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-capture-session.c: scope_hint: In function ‘handle_add_barrier’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-capture-session.c:843:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  841|         g_dbus_method_invocation_return_error_literal (invocation, G_DBUS_ERROR,
#  842|                                                        G_DBUS_ERROR_ACCESS_DENIED,
#  843|->                                                      error->message);
#  844|         return G_DBUS_METHOD_INVOCATION_HANDLED;
#  845|       }

Error: CPPCHECK_WARNING: [#def231]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-mapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def232]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def233]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-config-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def234]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-config-migration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def235]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-config-migration.c:757:11: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  755|         MtkRectangle *rect;
#  756|   
#  757|->       if (strcmp (output_key->vendor, other_output_key->vendor) != 0 ||
#  758|             strcmp (output_key->product, other_output_key->product) != 0 ||
#  759|             strcmp (output_key->serial, other_output_key->serial) != 0)

Error: CLANG_WARNING: [#def236]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-config-migration.c:758:11: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
#  756|   
#  757|         if (strcmp (output_key->vendor, other_output_key->vendor) != 0 ||
#  758|->           strcmp (output_key->product, other_output_key->product) != 0 ||
#  759|             strcmp (output_key->serial, other_output_key->serial) != 0)
#  760|           continue;

Error: CPPCHECK_WARNING: [#def237]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-config-store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def238]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-manager-dummy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def239]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def240]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def241]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-output.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def242]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c: scope_hint: In function ‘handle_enable_clipboard’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c:1346:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 1344|         if (!source_remote)
# 1345|           {
# 1346|->           g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR,
# 1347|                                                    G_DBUS_ERROR_FAILED,
# 1348|                                                    "Invalid mime type list: %s",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c: scope_hint: In function ‘handle_set_selection’
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c:1524:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 1522|         if (!source_remote)
# 1523|           {
# 1524|->           g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR,
# 1525|                                                    G_DBUS_ERROR_FAILED,
# 1526|                                                    "Invalid format list: %s",

Error: CLANG_WARNING: [#def245]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-remote-desktop-session.c:1527:50: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1525|                                                    G_DBUS_ERROR_FAILED,
# 1526|                                                    "Invalid format list: %s",
# 1527|->                                                  error->message);
# 1528|             return TRUE;
# 1529|           }

Error: CPPCHECK_WARNING: [#def246]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def247]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-stream-src.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-190): [#def248]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-stream-src.c:1595: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1593|     MetaPipeWireSource *pipewire_source = (MetaPipeWireSource *) source;
# 1594|   
# 1595|->   pw_loop_leave (pipewire_source->pipewire_loop);
# 1596|     pw_loop_destroy (pipewire_source->pipewire_loop);
# 1597|   }

Error: CPPCHECK_WARNING (CWE-190): [#def249]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-stream-src.c:1622: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1620|   
# 1621|     g_source_add_unix_fd (source,
# 1622|->                         pw_loop_get_fd (pipewire_source->pipewire_loop),
# 1623|                           G_IO_IN | G_IO_ERR);
# 1624|   

Error: CPPCHECK_WARNING (CWE-190): [#def250]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-stream-src.c:1625: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1623|                           G_IO_IN | G_IO_ERR);
# 1624|   
# 1625|->   pw_loop_enter (pipewire_source->pipewire_loop);
# 1626|     g_source_attach (source, NULL);
# 1627|     g_source_unref (source);

Error: CPPCHECK_WARNING (CWE-190): [#def251]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-stream-src.c:1680: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1678|       }
# 1679|   
# 1680|->   pw_core_add_listener (priv->pipewire_core,
# 1681|                           &priv->pipewire_core_listener,
# 1682|                           &core_events,

Error: CPPCHECK_WARNING: [#def252]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-virtual-stream-src.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def253]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast-window-stream-src.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def254]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-screen-cast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def255]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def256]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-stage-impl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def257]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-stage-impl.c:238:14: warning[deadcode.DeadStores]: Although the value stored to 'freeme' is used in the enclosing expression, the value is never actually read from 'freeme'
#  236|       damage = g_newa (int, n_rects * 4);
#  237|     else
#  238|->     damage = freeme = g_new (int, n_rects * 4);
#  239|   
#  240|     for (i = 0; i < n_rects; i++)

Error: CLANG_WARNING: [#def258]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-stage-impl.c:364:13: warning[deadcode.DeadStores]: Although the value stored to 'freeme' is used in the enclosing expression, the value is never actually read from 'freeme'
#  362|       rects = g_newa (MtkRectangle, n_rects);
#  363|     else
#  364|->     rects = freeme = g_new (MtkRectangle, n_rects);
#  365|   
#  366|     for (i = 0; i < n_rects; i++)

Error: CLANG_WARNING: [#def259]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-stage-impl.c:401:13: warning[deadcode.DeadStores]: Although the value stored to 'freeme' is used in the enclosing expression, the value is never actually read from 'freeme'
#  399|       rects = g_newa (MtkRectangle, n_rects);
#  400|     else
#  401|->     rects = freeme = g_new (MtkRectangle, n_rects);
#  402|   
#  403|     for (i = 0; i < n_rects; i++)

Error: CPPCHECK_WARNING: [#def260]
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-stage-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def261]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/dbus-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def262]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-backend-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def263]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-barrier-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def264]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-bezier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def265]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-crtc-kms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def266]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def267]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c: scope_hint: In function ‘create_cursor_drm_buffer_gbm’
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:485:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl.h:92: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter-types.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/clutter/clutter/clutter.h:30: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/meta/common.h:29: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-cursor.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-cursor-renderer.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:26: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:1141:3: note: in expansion of macro ‘COGL_TRACE_BEGIN_SCOPED’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-cursor-renderer.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:861:8: note: in expansion of macro ‘G_APPROX_VALUE’
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:481:9: note: in expansion of macro ‘g_alloca0’
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:487:15: note: in expansion of macro ‘MIN’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#  483|     for (i = 0; i < height; i++)
#  484|       {
#  485|->       memcpy (buf + i * bo_stride,
#  486|                 pixels + i * stride,
#  487|                 MIN (bo_stride, stride));

Error: CLANG_WARNING: [#def268]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-cursor-renderer-native.c:1009:20: warning[deadcode.DeadStores]: Value stored to 'kms_crtc' during its initialization is never read
# 1007|         MetaKms *kms = meta_backend_native_get_kms (backend_native);
# 1008|         MetaKmsCursorManager *kms_cursor_manager = meta_kms_get_cursor_manager (kms);
# 1009|->       MetaKmsCrtc *kms_crtc = meta_crtc_kms_get_kms_crtc (crtc_kms);
# 1010|         int hot_x, hot_y;
# 1011|         g_autoptr (MetaDeviceFile) device_file = NULL;

Error: CPPCHECK_WARNING: [#def269]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def270]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c:237:3: warning[deadcode.DeadStores]: Value stored to 'locker' is never read
#  235|     int fd;
#  236|   
#  237|->   locker = g_mutex_locker_new (&pool->mutex);
#  238|   
#  239|     file = find_device_file_from_path (pool, path);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c: scope_hint: In function ‘meta_device_pool_open’
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c:288:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path,  open_flags)’
mutter-47_alpha-build/mutter-47.alpha/src/meta/util.h:29: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/core/util-private.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.h:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool-private.h:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c:20: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c:276:7: note: in expansion of macro ‘meta_topic’
#  286|         do
#  287|           {
#  288|->           fd = open (path, open_flags);
#  289|           }
#  290|         while (fd == -1 && errno == EINTR);

Error: CLANG_WARNING: [#def272]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.c:314:3: warning[deadcode.DeadStores]: Value stored to 'locker' is never read
#  312|     g_autoptr (GError) error = NULL;
#  313|   
#  314|->   locker = g_mutex_locker_new (&pool->mutex);
#  315|   
#  316|     meta_topic (META_DEBUG_BACKEND, "Releasing device file '%s'", file->path);

Error: CPPCHECK_WARNING: [#def273]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-drm-lease.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def274]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-gpu-kms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def275]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-input-device-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def276]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-connector.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def277]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-crtc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def278]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-cursor-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def279]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def280]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-atomic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def281]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-atomic.c:805:29: warning[unix.Malloc]: Potential leak of memory pointed to by 'drm_color_lut'
#  803|               }
#  804|   
#  805|->           color_lut_blob_id = store_new_blob (impl_device,
#  806|                                                 blob_ids,
#  807|                                                 drm_color_lut,

Error: CLANG_WARNING: [#def282]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-atomic.c:1194:65: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1192|   
# 1193|   err:
# 1194|->   meta_topic (META_DEBUG_KMS, "[atomic] KMS update failed: %s", error->message);
# 1195|   
# 1196|     if (req)

Error: CPPCHECK_WARNING: [#def283]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-simple.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def284]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-simple.c:433:16: warning[deadcode.DeadStores]: Value stored to 'crtc' during its initialization is never read
#  431|       META_KMS_IMPL_DEVICE_SIMPLE (impl_device);
#  432|     MetaKmsModeSet *mode_set = update_entry;
#  433|->   MetaKmsCrtc *crtc = mode_set->crtc;
#  434|     g_autofree uint32_t *connectors = NULL;
#  435|     int n_connectors;

Error: CLANG_WARNING: [#def285]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-simple.c:461:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'connectors'
#  459|         if (!plane_assignment)
#  460|           {
#  461|->           g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
#  462|                          "Missing primary plane assignment for legacy mode set on CRTC %u",
#  463|                          meta_kms_crtc_get_id (crtc));

Error: CLANG_WARNING: [#def286]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-simple.c:936:38: warning[core.NullDereference]: Access to field 'buffer' results in a dereference of a null pointer (loaded from variable 'plane_assignment')
#  934|       }
#  935|   
#  936|->   if (!meta_drm_buffer_ensure_fb_id (plane_assignment->buffer, error))
#  937|       return FALSE;
#  938|   

Error: CLANG_WARNING: [#def287]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device-simple.c:949:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'connectors'
#  947|   
#  948|     fd = meta_kms_impl_device_get_fd (impl_device);
#  949|->   ret = drmModeSetCrtc (fd,
#  950|                           meta_kms_crtc_get_id (crtc),
#  951|                           fb_id,

Error: CPPCHECK_WARNING: [#def288]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def289]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-impl-device.c:597:43: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  595|           {
#  596|             g_warning ("Failed to get CRTC %u info on '%s': %s",
#  597|->                      crtc_id, priv->path, error->message);
#  598|             continue;
#  599|           }

Error: CPPCHECK_WARNING: [#def290]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-plane.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def291]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms-update.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def292]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-kms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def293]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-launcher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def294]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-onscreen-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def295]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-onscreen-native.c:1944: error[legacyUninitvar]: Uninitialized variable: gbm_format
# 1942|       g_assert_not_reached ();
# 1943|   
# 1944|->   return gbm_format;
# 1945|   }
# 1946|   

Error: CLANG_WARNING: [#def296]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-onscreen-native.c:2147:30: warning[deadcode.DeadStores]: Value stored to 'renderer_gpu_data' during its initialization is never read
# 2145|     CoglRenderer *cogl_renderer = cogl_display->renderer;
# 2146|     CoglRendererEGL *cogl_renderer_egl = cogl_renderer->winsys;
# 2147|->   MetaRendererNativeGpuData *renderer_gpu_data = cogl_renderer_egl->platform;
# 2148|     MetaRenderDeviceGbm *render_device_gbm;
# 2149|     struct gbm_device *gbm_device;

Error: CPPCHECK_WARNING: [#def297]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-output-kms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def298]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def299]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c:267:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  265|       }
#  266|     prev_top = 0;
#  267|->   top_most = boxes[0].y1;
#  268|     current_roof = top_most;
#  269|     bottom_most = boxes[num_boxes - 1].y2;

Error: CPPCHECK_WARNING (CWE-476): [#def300]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c:568: error[ctunullpointer]: Null pointer dereference: border
#  566|                                float      *sy)
#  567|   {
#  568|->   switch (border->blocking_directions)
#  569|       {
#  570|       case META_BORDER_MOTION_DIRECTION_POSITIVE_X:

Error: CPPCHECK_WARNING (CWE-476): [#def301]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c:568: warning[nullPointer]: Possible null pointer dereference: border
#  566|                                float      *sy)
#  567|   {
#  568|->   switch (border->blocking_directions)
#  569|       {
#  570|       case META_BORDER_MOTION_DIRECTION_POSITIVE_X:

Error: CLANG_WARNING: [#def302]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c:568:11: warning[core.NullDereference]: Access to field 'blocking_directions' results in a dereference of a null pointer (loaded from variable 'border')
#  566|                                float      *sy)
#  567|   {
#  568|->   switch (border->blocking_directions)
#  569|       {
#  570|       case META_BORDER_MOTION_DIRECTION_POSITIVE_X:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c: scope_hint: In function ‘closest_point_behind_border’
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-pointer-constraint-native.c:568:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘border’
#  566|                                float      *sy)
#  567|   {
#  568|->   switch (border->blocking_directions)
#  569|       {
#  570|       case META_BORDER_MOTION_DIRECTION_POSITIVE_X:

Error: CPPCHECK_WARNING: [#def304]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-renderer-native-gles3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def305]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-renderer-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def306]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-renderer-native.c:900:7: warning[deadcode.DeadStores]: Value stored to 'feedback' is never read
#  898|                                              NULL);
#  899|   
#  900|->       feedback =
#  901|           meta_kms_device_process_update_sync (kms_device, kms_update,
#  902|                                                META_KMS_UPDATE_FLAG_MODE_SET);

Error: CPPCHECK_WARNING: [#def307]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def308]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c:2272:9: warning[deadcode.DeadStores]: Value stored to 'device_native' is never read
# 2270|   
# 2271|           device = libinput_device_get_user_data (libinput_device);
# 2272|->         device_native = META_INPUT_DEVICE_NATIVE (device);
# 2273|   
# 2274|           meta_viewport_info_get_extents (seat_impl->viewports,

Error: CLANG_WARNING: [#def309]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c:2314:9: warning[deadcode.DeadStores]: Value stored to 'device_native' is never read
# 2312|   
# 2313|           device = libinput_device_get_user_data (libinput_device);
# 2314|->         device_native = META_INPUT_DEVICE_NATIVE (device);
# 2315|   
# 2316|           seat_slot = libinput_event_touch_get_seat_slot (touch_event);

Error: CLANG_WARNING: [#def310]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c:2345:9: warning[deadcode.DeadStores]: Value stored to 'device_native' is never read
# 2343|   
# 2344|           device = libinput_device_get_user_data (libinput_device);
# 2345|->         device_native = META_INPUT_DEVICE_NATIVE (device);
# 2346|   
# 2347|           meta_viewport_info_get_extents (seat_impl->viewports,

Error: CLANG_WARNING: [#def311]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c:2972:56: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 2970|         if (!init_libinput (seat_impl, &error))
# 2971|           {
# 2972|->           g_critical ("Failed to initialize seat: %s", error->message);
# 2973|             seat_impl->input_thread_initialized = TRUE;
# 2974|             return NULL;

Error: CLANG_WARNING: [#def312]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-seat-impl.c:3943:3: warning[deadcode.DeadStores]: Value stored to 'owned_device' is never read
# 3941|     g_assert (CLUTTER_IS_INPUT_DEVICE (device));
# 3942|   
# 3943|->   owned_device = g_object_ref (device);
# 3944|   
# 3945|     meta_seat_impl_remove_device (seat_impl, device);

Error: CPPCHECK_WARNING: [#def313]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-thread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def314]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-thread.c:1039:3: warning[deadcode.DeadStores]: Value stored to 'locker' is never read
# 1037|       main_context = g_main_context_default ();
# 1038|   
# 1039|->   locker = g_mutex_locker_new (&priv->callbacks_mutex);
# 1040|   
# 1041|     callback_source = g_hash_table_lookup (priv->callback_sources, main_context);

Error: CPPCHECK_WARNING: [#def315]
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-virtual-input-device-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/cm/meta-backend-x11-cm.c: scope_hint: In function ‘get_xkbrf_var_defs’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/cm/meta-backend-x11-cm.c:255:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rules’
#  253|     /* Sometimes, the property is a file path, and sometimes it's
#  254|        not. Normalize it so it's always a file path. */
#  255|->   if (rules[0] == '/')
#  256|       *rules_p = g_strdup (rules);
#  257|     else

Error: CLANG_WARNING: [#def317]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-backend-x11.c:1019:20: warning[deadcode.DeadStores]: Value stored to 'seat' during its initialization is never read
# 1017|       {
# 1018|         ClutterBackend *clutter_backend = meta_backend_get_clutter_backend (backend);
# 1019|->       ClutterSeat *seat = clutter_backend_get_default_seat (clutter_backend);
# 1020|         ClutterKeymap *keymap;
# 1021|   

Error: CPPCHECK_WARNING: [#def318]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-crtc-xrandr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def319]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-gpu-xrandr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def320]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-device-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def321]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-device-x11.c: scope_hint: In function ‘meta_input_device_x11_get_group_n_modes’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-device-x11.c:211:11: warning[-Wdeprecated-declarations]: ‘libwacom_has_ring’ is deprecated
#  211 |           if (libwacom_has_ring (wacom_device))
#      |           ^~
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-input-settings-private.h:27: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-backend-private.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-backend-x11.h:30: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-device-x11.c:25: included_from: Included from here.
/usr/include/libwacom-1.0/libwacom/libwacom.h:661:5: note: declared here
#  661 | int libwacom_has_ring(const WacomDevice *device) LIBWACOM_DEPRECATED;
#      |     ^~~~~~~~~~~~~~~~~
#  209|         if (group == 0)
#  210|           {
#  211|->           if (libwacom_has_ring (wacom_device))
#  212|               return libwacom_get_ring_num_modes (wacom_device);
#  213|             else if (libwacom_get_num_strips (wacom_device) >= 1)

Error: COMPILER_WARNING (CWE-477): [#def322]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-device-x11.c:218:11: warning[-Wdeprecated-declarations]: ‘libwacom_has_ring2’ is deprecated
#  218 |           if (libwacom_has_ring2 (wacom_device))
#      |           ^~
/usr/include/libwacom-1.0/libwacom/libwacom.h:670:5: note: declared here
#  670 | int libwacom_has_ring2(const WacomDevice *device) LIBWACOM_DEPRECATED;
#      |     ^~~~~~~~~~~~~~~~~~
#  216|         else if (group == 1)
#  217|           {
#  218|->           if (libwacom_has_ring2 (wacom_device))
#  219|               return libwacom_get_ring2_num_modes (wacom_device);
#  220|             else if (libwacom_get_num_strips (wacom_device) >= 2)

Error: CPPCHECK_WARNING: [#def323]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-settings-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def324]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-settings-x11.c:780:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  778|       }
#  779|   
#  780|->   area[0] = dev_x;
#  781|     area[1] = dev_y;
#  782|     area[2] = dev_width + dev_x;

Error: CLANG_WARNING: [#def325]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-input-settings-x11.c:781:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  779|   
#  780|     area[0] = dev_x;
#  781|->   area[1] = dev_y;
#  782|     area[2] = dev_width + dev_x;
#  783|     area[3] = dev_height + dev_y;

Error: CPPCHECK_WARNING: [#def326]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-keymap-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def327]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-monitor-manager-xrandr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def328]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-output-xrandr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def329]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def330]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c: scope_hint: In function ‘translate_coords’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:1477:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
# 1475|   {
# 1476|     MetaStageImpl *stage_impl = META_STAGE_IMPL (stage_x11);
# 1477|->   ClutterActor *stage = CLUTTER_ACTOR (stage_impl->wrapper);
# 1478|     float stage_width;
# 1479|     float stage_height;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def331]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gudev-1.0/gudev/gudevenums.h:14: included_from: Included from here.
/usr/include/gudev-1.0/gudev/gudev.h:11: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:26: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c: scope_hint: In function ‘meta_seat_x11_translate_event’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:2268:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:2264:9: note: in expansion of macro ‘g_debug’
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:2264:9: note: in expansion of macro ‘g_debug’
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 2266|                    ? "key press  "
# 2267|                    : "key release",
# 2268|->                  (unsigned int) stage_x11->xwin,
# 2269|                    xev->deviceid,
# 2270|                    xev->sourceid,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-seat-x11.c:2344:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stage_x11’
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/lib64/glib-2.0/include/glibconfig.h:106:54: note: in definition of macro ‘GINT_TO_POINTER’
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 2342|                        ? "pad button press  "
# 2343|                        : "pad button release",
# 2344|->                      (unsigned int) stage_x11->xwin,
# 2345|                        meta_input_device_x11_get_device_id (device),
# 2346|                        clutter_input_device_get_device_name (device),

Error: CPPCHECK_WARNING: [#def333]
mutter-47_alpha-build/mutter-47.alpha/src/backends/x11/meta-xkb-a11y-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def334]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/compositor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def335]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/edge-resistance.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def336]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/edge-resistance.c:203:3: warning[deadcode.DeadStores]: Value stored to 'compare' is never read
#  201|     mid  = 0;
#  202|     edge = g_array_index (edges, MetaEdge*, mid);
#  203|->   compare = horizontal ? edge->rect.x : edge->rect.y;
#  204|   
#  205|     /* Begin the search... */

Error: CLANG_WARNING: [#def337]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/edge-resistance.c:287:15: warning[deadcode.DeadStores]: Value stored to 'best_dist' is never read
#  285|               {
#  286|                 best = compare;
#  287|->               best_dist = dist;
#  288|               }
#  289|             break;

Error: CLANG_WARNING: [#def338]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/edge-resistance.c:945:17: warning[deadcode.DeadStores]: Although the value stored to 'obscuring_windows' is used in the enclosing expression, the value is never actually read from 'obscuring_windows'
#  943|       }
#  944|     /* Put 'em in bottom to top order */
#  945|->   rem_windows = obscuring_windows = g_slist_reverse (obscuring_windows);
#  946|     rem_win_stacking = window_stacking = g_slist_reverse (window_stacking);
#  947|   

Error: CLANG_WARNING: [#def339]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/edge-resistance.c:946:22: warning[deadcode.DeadStores]: Although the value stored to 'window_stacking' is used in the enclosing expression, the value is never actually read from 'window_stacking'
#  944|     /* Put 'em in bottom to top order */
#  945|     rem_windows = obscuring_windows = g_slist_reverse (obscuring_windows);
#  946|->   rem_win_stacking = window_stacking = g_slist_reverse (window_stacking);
#  947|   
#  948|     /*

Error: CPPCHECK_WARNING: [#def340]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-background-content.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def341]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-background.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def342]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-compositor-view-native.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def343]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-later.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def344]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-shadow-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def345]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-shaped-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def346]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-surface-actor-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def347]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-surface-actor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def348]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-sync-ring.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def349]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-texture-mipmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def350]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def351]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def352]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor.c: scope_hint: In function ‘meta_window_actor_capture_into.part.0’
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor.c:1374:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bounds’
/usr/include/glib-2.0/gobject/gtype.h:571:66: note: in expansion of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gobject/gtype.h:1724:12: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
mutter-47_alpha-build/mutter-47.alpha/src/meta/meta-window-actor.h:32:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-actor.c: scope_hint: In function ‘meta_window_actor_capture_into.part.0’
# 1372|     cr_stride = cairo_image_surface_get_stride (image);
# 1373|   
# 1374|->   if (cr_width == bounds->width && cr_height == bounds->height)
# 1375|       {
# 1376|         memcpy (data, cr_data, cr_height * cr_stride);

Error: CPPCHECK_WARNING: [#def354]
mutter-47_alpha-build/mutter-47.alpha/src/compositor/meta-window-drag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def355]
mutter-47_alpha-build/mutter-47.alpha/src/core/boxes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def356]
mutter-47_alpha-build/mutter-47.alpha/src/core/boxes.c:247:15: warning[unix.Malloc]: Use of memory after it is freed
#  245|   
#  246|             /* If a contains b, just remove b */
#  247|->           if (mtk_rectangle_contains_rect (a, b))
#  248|               {
#  249|                 delete_me = other;

Error: CPPCHECK_WARNING: [#def357]
mutter-47_alpha-build/mutter-47.alpha/src/core/constraints.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def358]
mutter-47_alpha-build/mutter-47.alpha/src/core/display.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def359]
mutter-47_alpha-build/mutter-47.alpha/src/core/events.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def360]
mutter-47_alpha-build/mutter-47.alpha/src/core/keybindings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def361]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-accel-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def362]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-clipboard-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def363]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-context-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-context-main.c: scope_hint: In function ‘determine_compositor_type’
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-context-main.c:176:30: warning[-Wanalyzer-malloc-leak]: leak of ‘find_session_type(error)’
#  174|   
#  175|     ret = sd_pid_get_session (0, &session_id);
#  176|->   if (ret == 0 && session_id != NULL)
#  177|       {
#  178|         ret = sd_session_get_type (session_id, &session_type);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-context-main.c:208:3: warning[-Wanalyzer-malloc-leak]: leak of ‘find_session_type(error)’
#  206|           }
#  207|       }
#  208|->   g_strfreev (sessions);
#  209|   
#  210|     session_type_env = g_getenv ("XDG_SESSION_TYPE");

Error: CLANG_WARNING: [#def366]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-context-main.c:264:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'session_type'
#  262|   
#  263|     if (strcmp (session_type, "x11") == 0)
#  264|->     return META_COMPOSITOR_TYPE_X11;
#  265|   #ifdef HAVE_WAYLAND
#  266|     else if (strcmp (session_type, "wayland") == 0)

Error: CPPCHECK_WARNING: [#def367]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-fraction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def368]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-gesture-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def369]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-pad-action-mapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def370]
mutter-47_alpha-build/mutter-47.alpha/src/core/meta-workspace-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def371]
mutter-47_alpha-build/mutter-47.alpha/src/core/place.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def372]
mutter-47_alpha-build/mutter-47.alpha/src/core/prefs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def373]
mutter-47_alpha-build/mutter-47.alpha/src/core/stack-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def374]
mutter-47_alpha-build/mutter-47.alpha/src/core/stack-tracker.c:1353:3: warning[deadcode.DeadStores]: Value stored to 'old_pos' is never read
# 1351|      * above the guard window if there are no non-hidden managed windows.)
# 1352|      */
# 1353|->   old_pos = n_windows - 1;
# 1354|     for (old_pos = n_windows - 1; old_pos >= 0; old_pos--)
# 1355|       {

Error: CPPCHECK_WARNING: [#def375]
mutter-47_alpha-build/mutter-47.alpha/src/core/stack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def376]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def377]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:3928: error[legacyUninitvar]: Uninitialized variable: unconstrained_rect
# 3926|       g_assert_not_reached ();
# 3927|   
# 3928|->   constrained_rect = unconstrained_rect;
# 3929|     temporary_rect = window->rect;
# 3930|     if (flags & META_MOVE_RESIZE_CONSTRAIN && window->monitor)

Error: CPPCHECK_WARNING (CWE-909): [#def378]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:3928: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.height
# 3926|       g_assert_not_reached ();
# 3927|   
# 3928|->   constrained_rect = unconstrained_rect;
# 3929|     temporary_rect = window->rect;
# 3930|     if (flags & META_MOVE_RESIZE_CONSTRAIN && window->monitor)

Error: CPPCHECK_WARNING (CWE-909): [#def379]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:3928: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.width
# 3926|       g_assert_not_reached ();
# 3927|   
# 3928|->   constrained_rect = unconstrained_rect;
# 3929|     temporary_rect = window->rect;
# 3930|     if (flags & META_MOVE_RESIZE_CONSTRAIN && window->monitor)

Error: CPPCHECK_WARNING (CWE-909): [#def380]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:3928: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.x
# 3926|       g_assert_not_reached ();
# 3927|   
# 3928|->   constrained_rect = unconstrained_rect;
# 3929|     temporary_rect = window->rect;
# 3930|     if (flags & META_MOVE_RESIZE_CONSTRAIN && window->monitor)

Error: CPPCHECK_WARNING (CWE-909): [#def381]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:3928: error[uninitStructMember]: Uninitialized struct member: unconstrained_rect.y
# 3926|       g_assert_not_reached ();
# 3927|   
# 3928|->   constrained_rect = unconstrained_rect;
# 3929|     temporary_rect = window->rect;
# 3930|     if (flags & META_MOVE_RESIZE_CONSTRAIN && window->monitor)

Error: CPPCHECK_WARNING (CWE-457): [#def382]
mutter-47_alpha-build/mutter-47.alpha/src/core/window.c:4283: error[uninitvar]: Uninitialized variables: rect.x, rect.y
# 4281|              META_MOVE_RESIZE_RESIZE_ACTION |
# 4282|              META_MOVE_RESIZE_CONSTRAIN);
# 4283|->   meta_window_move_resize_internal (window, flags, gravity, rect);
# 4284|   }
# 4285|   

Error: CPPCHECK_WARNING: [#def383]
mutter-47_alpha-build/mutter-47.alpha/src/core/workspace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
mutter-47_alpha-build/mutter-47.alpha/src/core/workspace.c: scope_hint: In function ‘meta_workspace_get_onmonitor_region’
mutter-47_alpha-build/mutter-47.alpha/src/core/workspace.c:1208:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mutter-47_alpha-build/mutter-47.alpha/src/core/workspace.c: scope_hint: In function ‘meta_workspace_get_onmonitor_region’
# 1206|     data = meta_workspace_get_logical_monitor_data (workspace, logical_monitor);
# 1207|   
# 1208|->   return data->logical_monitor_region;
# 1209|   }
# 1210|   

Error: CLANG_WARNING: [#def385]
mutter-47_alpha-build/mutter-47.alpha/src/frames/main.c:64:3: warning[deadcode.DeadStores]: Value stored to 'window_tracker' is never read
#   62|                                    XFixesClientDisconnectFlagTerminate);
#   63|   
#   64|->   window_tracker = meta_window_tracker_new (display);
#   65|   
#   66|     loop = g_main_loop_new (NULL, FALSE);

Error: CPPCHECK_WARNING: [#def386]
mutter-47_alpha-build/mutter-47.alpha/src/frames/meta-frame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def387]
mutter-47_alpha-build/mutter-47.alpha/src/frames/meta-window-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def388]
mutter-47_alpha-build/mutter-47.alpha/src/tests/boxes-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def389]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter-test-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def390]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/actor-event-hold.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def391]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/actor-iter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def392]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/actor-offscreen-redirect.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def393]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/actor-pick.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def394]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/actor-size.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def395]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/event-delivery.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def396]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/frame-clock-timeline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def397]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/gesture-relationship.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def398]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/grab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def399]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/interval.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def400]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def401]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/conform/timeline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def402]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-actors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def403]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-cogl-shader-glsl.c:334:39: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  332|     redhand = clutter_test_texture_2d_new_from_file (ctx, file, &error);
#  333|     if (redhand == NULL)
#  334|->     g_error ("image load failed: %s", error->message);
#  335|   
#  336|     shader_pipeline = cogl_pipeline_new (ctx);

Error: CPPCHECK_WARNING: [#def404]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-events.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def405]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def406]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c: scope_hint: In function ‘main’
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c:148:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c:5: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c:79:14: note: in expansion of macro ‘g_strdup’
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-main.c: scope_hint: In function ‘main’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  146|             g_print ("  - %s:%*s%s\n",
#  147|                      test_unit_names[i],
#  148|->                    (int) (len - strlen (str)), " ",
#  149|                      str);
#  150|   

Error: CPPCHECK_WARNING: [#def407]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-swipe-action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def408]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/interactive/test-text-field.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def409]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/micro-bench/test-random-text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def410]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/micro-bench/test-text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def411]
mutter-47_alpha-build/mutter-47.alpha/src/tests/clutter/micro-bench/test-text.c:100:15: warning[deadcode.DeadStores]: Value stored to 'font_size' is never read
#   98|                 if (row == 0)
#   99|                   strcpy (text, "");
#  100|->               font_size = 10;
#  101|                 scale = 1.0;
#  102|               }

Error: CPPCHECK_WARNING: [#def412]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl-test-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def413]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-atlas-migration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def414]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-backface-culling.c:161:7: warning[deadcode.DeadStores]: Value stored to 'x2' is never read
#  159|   
#  160|         x1 = x2;
#  161|->       x2 = x1 + (float)(TEXTURE_RENDER_SIZE);
#  162|   
#  163|         cogl_framebuffer_pop_matrix (framebuffer);

Error: CPPCHECK_WARNING: [#def415]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-color.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def416]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-copy-replace-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def417]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-journal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def418]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-journal.c:70:3: warning[unix.Malloc]: Potential leak of memory pointed to by '__m2'
#   68|       }
#   69|   
#   70|->   g_assert_cmpmem (data, data_size, reference_data, data_size);
#   71|   
#   72|     g_object_unref (texture);

Error: CPPCHECK_WARNING: [#def419]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-npot-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def420]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-npot-texture.c:85: error[overlappingWriteFunction]: Overlapping read/write in memcpy() is undefined behavior
#   83|         while (--height > 0)
#   84|           {
#   85|->           memcpy (p, p - TEXTURE_SIZE, TEXTURE_SIZE * 4);
#   86|             p += TEXTURE_SIZE;
#   87|           }

Error: CPPCHECK_WARNING: [#def421]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-offscreen-texture-formats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def422]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-offscreen.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def423]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-point-sprite-known-failure.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def424]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-point-sprite.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def425]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-primitive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def426]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-sub-texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def427]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-texture-get-set-data.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def428]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/conform/test-wrap-modes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def429]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-664): [#def430]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:47: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
#   45|     data.bits = alloca (data.n_bits * (sizeof (int)));
#   46|   
#   47|->   G_VA_COPY (ap, ap_copy);
#   48|   
#   49|     for (i = 0; i < data.n_bits; i++)

Error: GCC_ANALYZER_WARNING (CWE-404): [#def431]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c: scope_hint: In function ‘verify_bits’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:47:3: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
#   45|     data.bits = alloca (data.n_bits * (sizeof (int)));
#   46|   
#   47|->   G_VA_COPY (ap, ap_copy);
#   48|   
#   49|     for (i = 0; i < data.n_bits; i++)

Error: CPPCHECK_WARNING (CWE-664): [#def432]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:64: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
#   62|         int j;
#   63|   
#   64|->       G_VA_COPY (ap, ap_copy);
#   65|   
#   66|         for (j = 0; j < data.n_bits; j++)

Error: GCC_ANALYZER_WARNING (CWE-404): [#def433]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:64:7: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmask.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:3: included_from: Included from here.
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:57:3: note: in expansion of macro ‘g_assert_cmpint’
#   62|         int j;
#   63|   
#   64|->       G_VA_COPY (ap, ap_copy);
#   65|   
#   66|         for (j = 0; j < data.n_bits; j++)

Error: GCC_ANALYZER_WARNING (CWE-685): [#def434]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:67:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:97:7: note: in expansion of macro ‘_cogl_bitmask_init’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:55:5: note: in expansion of macro ‘g_assert_cmpint’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmask.h:36: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmask.h:284:11: note: in expansion of macro ‘_cogl_util_popcountl’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:57:3: note: in expansion of macro ‘g_assert_cmpint’
#   65|   
#   66|         for (j = 0; j < data.n_bits; j++)
#   67|->         if (va_arg (ap, int) < i)
#   68|             upto_popcount++;
#   69|   

Error: CPPCHECK_WARNING (CWE-664): [#def435]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:74: error[va_start_subsequentCalls]: va_start() or va_copy() called subsequently on 'ap' without va_end() in between.
#   72|                          upto_popcount);
#   73|   
#   74|->       G_VA_COPY (ap, ap_copy);
#   75|   
#   76|         for (j = 0; j < data.n_bits; j++)

Error: GCC_ANALYZER_WARNING (CWE-404): [#def436]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:74:7: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:97:7: note: in expansion of macro ‘_cogl_bitmask_init’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmask.h:284:11: note: in expansion of macro ‘_cogl_util_popcountl’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:57:3: note: in expansion of macro ‘g_assert_cmpint’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-bitmask.h:306:34: note: in expansion of macro ‘_cogl_bitmask_to_bits’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:70:7: note: in expansion of macro ‘g_assert_cmpint’
#   72|                          upto_popcount);
#   73|   
#   74|->       G_VA_COPY (ap, ap_copy);
#   75|   
#   76|         for (j = 0; j < data.n_bits; j++)

Error: CPPCHECK_WARNING (CWE-664): [#def437]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:84: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
#   82|         g_assert_cmpint (_cogl_bitmask_get (bitmask, i), ==, (j < data.n_bits));
#   83|       }
#   84|-> }
#   85|   
#   86|   static void

Error: CPPCHECK_WARNING (CWE-664): [#def438]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-bitmask.c:84: error[va_end_missing]: va_list 'ap_copy' was opened but not closed by va_end().
#   82|         g_assert_cmpint (_cogl_bitmask_get (bitmask, i), ==, (j < data.n_bits));
#   83|       }
#   84|-> }
#   85|   
#   86|   static void

Error: CPPCHECK_WARNING: [#def439]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-pipeline-cache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def440]
mutter-47_alpha-build/mutter-47.alpha/src/tests/cogl/unit/test-pipeline-vertend-glsl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def441]
mutter-47_alpha-build/mutter-47.alpha/src/tests/color-management-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def442]
mutter-47_alpha-build/mutter-47.alpha/src/tests/color-management-tests.c:396:3: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  394|     meta_monitor_manager_test_emulate_hotplug (monitor_manager_test, test_setup);
#  395|   
#  396|->   i = 0;
#  397|     monitors = meta_monitor_manager_get_monitors (monitor_manager);
#  398|     g_assert_cmpuint (g_list_length (monitors), ==, 2);

Error: CLANG_WARNING: [#def443]
mutter-47_alpha-build/mutter-47.alpha/src/tests/drm-mock/drm-mock.c:156:3: warning[deadcode.DeadStores]: Value stored to 'old_filter' is never read
#  154|     new_filter->user_data = user_data;
#  155|   
#  156|->   old_filter = resource_filters[call_filter];
#  157|     g_atomic_pointer_set (&resource_filters[call_filter], new_filter);
#  158|   }

Error: CLANG_WARNING: [#def444]
mutter-47_alpha-build/mutter-47.alpha/src/tests/drm-mock/drm-mock.c:165:3: warning[deadcode.DeadStores]: Value stored to 'old_filter' is never read
#  163|     g_autofree DrmMockResourceFilter *old_filter = NULL;
#  164|   
#  165|->   old_filter = resource_filters[call_filter];
#  166|     g_atomic_pointer_set (&resource_filters[call_filter], NULL);
#  167|   }

Error: CPPCHECK_WARNING: [#def445]
mutter-47_alpha-build/mutter-47.alpha/src/tests/edid-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def446]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def447]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c:694:3: warning[deadcode.DeadStores]: Value stored to 'zones' is never read
#  692|     session = input_capture_create_session (input_capture);
#  693|   
#  694|->   zones = input_capture_session_get_zones (session);
#  695|   
#  696|     /*

Error: CLANG_WARNING: [#def448]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c:801:3: warning[deadcode.DeadStores]: Value stored to 'zones' is never read
#  799|     session = input_capture_create_session (input_capture);
#  800|   
#  801|->   zones = input_capture_session_get_zones (session);
#  802|   
#  803|     input_capture_session_add_barrier (session, 0, 0, 0, 600);

Error: CLANG_WARNING: [#def449]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c:832:3: warning[deadcode.DeadStores]: Value stored to 'zones' is never read
#  830|     session = input_capture_create_session (input_capture);
#  831|   
#  832|->   zones = input_capture_session_get_zones (session);
#  833|     input_capture_session_add_barrier (session, 0, 0, 0, 600);
#  834|     input_capture_session_enable (session);

Error: CLANG_WARNING: [#def450]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c:900:3: warning[deadcode.DeadStores]: Value stored to 'zones' is never read
#  898|   
#  899|     input_capture_session_connect_to_eis (session);
#  900|->   zones = input_capture_session_get_zones (session);
#  901|     input_capture_session_add_barrier (session, 0, 0, 0, 600);
#  902|   

Error: CLANG_WARNING: [#def451]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-test-client.c:969:3: warning[deadcode.DeadStores]: Value stored to 'zones' is never read
#  967|   
#  968|     input_capture_session_connect_to_eis (session);
#  969|->   zones = input_capture_session_get_zones (session);
#  970|     input_capture_session_add_barrier (session, 0, 0, 0, 600);
#  971|     input_capture_session_enable (session);

Error: CPPCHECK_WARNING: [#def452]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def453]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:227:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor2' is never read
#  225|   
#  226|     virtual_monitor1 = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  227|->   virtual_monitor2 = meta_create_test_monitor (test_context, 1024, 768, 20.0);
#  228|   
#  229|     test_client = input_capture_test_client_new ("zones");

Error: CLANG_WARNING: [#def454]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:263:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor1' is never read
#  261|     InputCaptureTestClient *test_client;
#  262|   
#  263|->   virtual_monitor1 = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  264|     virtual_monitor2 = meta_create_test_monitor (test_context, 1024, 768, 20.0);
#  265|   

Error: CLANG_WARNING: [#def455]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:264:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor2' is never read
#  262|   
#  263|     virtual_monitor1 = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  264|->   virtual_monitor2 = meta_create_test_monitor (test_context, 1024, 768, 20.0);
#  265|   
#  266|     virtual_pointer = clutter_seat_create_virtual_device (seat,

Error: CLANG_WARNING: [#def456]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:324:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor1' is never read
#  322|     InputCaptureTestClient *test_client;
#  323|   
#  324|->   virtual_monitor1 = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  325|   
#  326|     virtual_pointer = clutter_seat_create_virtual_device (seat,

Error: CLANG_WARNING: [#def457]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:365:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor' is never read
#  363|     InputCaptureTestClient *test_client;
#  364|   
#  365|->   virtual_monitor = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  366|     virtual_keyboard = clutter_seat_create_virtual_device (seat,
#  367|                                                            CLUTTER_KEYBOARD_DEVICE);

Error: CLANG_WARNING: [#def458]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:442:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor1' is never read
#  440|     InputCaptureTestClient *test_client;
#  441|   
#  442|->   virtual_monitor1 = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  443|   
#  444|     virtual_pointer = clutter_seat_create_virtual_device (seat,

Error: CLANG_WARNING: [#def459]
mutter-47_alpha-build/mutter-47.alpha/src/tests/input-capture-tests.c:508:3: warning[deadcode.DeadStores]: Value stored to 'virtual_monitor' is never read
#  506|     a11y_mouse_settings = g_settings_new ("org.gnome.desktop.a11y.mouse");
#  507|   
#  508|->   virtual_monitor = meta_create_test_monitor (test_context, 800, 600, 20.0);
#  509|     virtual_pointer = clutter_seat_create_virtual_device (seat,
#  510|                                                           CLUTTER_POINTER_DEVICE);

Error: CPPCHECK_WARNING: [#def460]
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.h:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c: scope_hint: In function ‘check_logical_monitor’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c:257:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gtestutils.h:92:80: note: in definition of macro ‘g_assert_cmpfloat’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:255:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c:243:3: note: in expansion of macro ‘g_assert_nonnull’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.c:243:3: note: in expansion of macro ‘g_assert_nonnull’
/usr/include/glib-2.0/glib/gtestutils.h:92:80: note: in definition of macro ‘g_assert_cmpfloat’
#  255|                      ==,
#  256|                      test_logical_monitor->layout.height);
#  257|->   g_assert_cmpfloat (logical_monitor->scale,
#  258|                        ==,
#  259|                        test_logical_monitor->scale);

Error: CPPCHECK_WARNING: [#def462]
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-ref-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def463]
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-sensors-proxy-mock.c:32:15: warning[deadcode.DeadStores]: Value stored to 'orientation_str' during its initialization is never read
#   30|   orientation_to_string (MetaOrientation orientation)
#   31|   {
#   32|->   const char *orientation_str = "undefined";
#   33|   
#   34|     switch (orientation)

Error: CLANG_WARNING: [#def464]
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-test-utils.c:95:7: warning[deadcode.DeadStores]: Value stored to 'basename' is never read
#   93|         g_autofree char *dirname = NULL;
#   94|   
#   95|->       basename = g_path_get_basename (argv[0]);
#   96|   
#   97|         dirname = g_path_get_dirname (argv[0]);

Error: CPPCHECK_WARNING: [#def465]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-config-migration-unit-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def466]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-store-unit-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def467]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-transform-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def468]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4452:3: warning[deadcode.DeadStores]: Value stored to 'touch_device' is never read
# 4450|     g_test_message ("%s", G_STRFUNC);
# 4451|     orientation_mock = meta_sensors_proxy_mock_get ();
# 4452|->   touch_device =
# 4453|       meta_backend_test_add_test_device (META_BACKEND_TEST (backend),
# 4454|                                          CLUTTER_TOUCHSCREEN_DEVICE, 1);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-backend-private.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c: scope_hint: In function ‘meta_test_monitor_orientation_changes’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5002:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘initial_config’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5001:7: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4968:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4968:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4970:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4970:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-monitor-test-utils.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-test-utils.h:36:5: note: in definition of macro ‘META_TEST_LOG_CALL’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-test-utils.h:36:5: note: in definition of macro ‘META_TEST_LOG_CALL’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4999:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:4999:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5000:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5000:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5000:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5001:7: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5001:7: note: in expansion of macro ‘g_assert_true’
# 5000|         g_assert (current != initial_config);
# 5001|         g_assert_true (meta_monitors_config_key_equal (current->key,
# 5002|->                                                      initial_config->key));
# 5003|       }
# 5004|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c: scope_hint: In function ‘meta_test_monitor_orientation_changes_for_transformed_panel’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5203:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘initial_config’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5202:7: note: in expansion of macro ‘g_assert_true’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5169:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5169:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5171:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5171:3: note: in expansion of macro ‘g_set_object’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-test-utils.h:36:5: note: in definition of macro ‘META_TEST_LOG_CALL’
mutter-47_alpha-build/mutter-47.alpha/src/tests/meta-test-utils.h:36:5: note: in definition of macro ‘META_TEST_LOG_CALL’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5200:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5200:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5201:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5201:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5201:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5202:7: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5202:7: note: in expansion of macro ‘g_assert_true’
# 5201|         g_assert (current != initial_config);
# 5202|         g_assert_true (meta_monitors_config_key_equal (current->key,
# 5203|->                                                      initial_config->key));
# 5204|       }
# 5205|   

Error: CLANG_WARNING: [#def471]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-unit-tests.c:5421:3: warning[deadcode.DeadStores]: Value stored to 'touch_device' is never read
# 5419|     g_test_message ("%s", G_STRFUNC);
# 5420|     orientation_mock = meta_sensors_proxy_mock_get ();
# 5421|->   touch_device =
# 5422|       meta_backend_test_add_test_device (META_BACKEND_TEST (backend),
# 5423|                                          CLUTTER_TOUCHSCREEN_DEVICE, 1);

Error: CPPCHECK_WARNING: [#def472]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-util-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-786): [#def473]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-util-tests.c:67: error[negativeIndex]: Array 'matching_4k_specs[4]' accessed at index -1, which is out of bounds.
#   65|       {
#   66|         MetaMonitorModeSpec *mode_spec = &matching_4k_specs[i];
#   67|->       MetaMonitorModeSpec *prev_mode_spec = &matching_4k_specs[i - 1];
#   68|   
#   69|         if (i != 0)

Error: CPPCHECK_WARNING (CWE-786): [#def474]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-util-tests.c:88: error[negativeIndex]: Array 'matching_uhd_specs[3]' accessed at index -1, which is out of bounds.
#   86|       {
#   87|         MetaMonitorModeSpec *mode_spec = &matching_uhd_specs[i];
#   88|->       MetaMonitorModeSpec *prev_mode_spec = &matching_uhd_specs[i - 1];
#   89|   
#   90|         if (i != 0)

Error: CPPCHECK_WARNING (CWE-786): [#def475]
mutter-47_alpha-build/mutter-47.alpha/src/tests/monitor-util-tests.c:107: error[negativeIndex]: Array 'matching_hd_specs[2]' accessed at index -1, which is out of bounds.
#  105|       {
#  106|         MetaMonitorModeSpec *mode_spec = &matching_hd_specs[i];
#  107|->       MetaMonitorModeSpec *prev_mode_spec = &matching_hd_specs[i - 1];
#  108|   
#  109|         if (i != 0)

Error: CPPCHECK_WARNING: [#def476]
mutter-47_alpha-build/mutter-47.alpha/src/tests/mtk/rectangle-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def477]
mutter-47_alpha-build/mutter-47.alpha/src/tests/native-persistent-virtual-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def478]
mutter-47_alpha-build/mutter-47.alpha/src/tests/native-thread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def479]
mutter-47_alpha-build/mutter-47.alpha/src/tests/native-thread.c:1171:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1169|     g_autoptr (GVariant) ret = NULL;
# 1170|   
# 1171|->   ret = call_rtkit_mock_method ("Reset", NULL);
# 1172|   
# 1173|     thread = g_initable_new (META_TYPE_THREAD_TEST,

Error: CLANG_WARNING: [#def480]
mutter-47_alpha-build/mutter-47.alpha/src/tests/native-thread.c:1219:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1217|     g_autoptr (GVariant) ret = NULL;
# 1218|   
# 1219|->   ret = call_rtkit_mock_method ("Reset", NULL);
# 1220|   
# 1221|     thread = g_initable_new (META_TYPE_THREAD_TEST,

Error: CPPCHECK_WARNING: [#def481]
mutter-47_alpha-build/mutter-47.alpha/src/tests/native-virtual-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def482]
mutter-47_alpha-build/mutter-47.alpha/src/tests/screen-cast-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-190): [#def483]
mutter-47_alpha-build/mutter-47.alpha/src/tests/screen-cast-client.c:126: error[integerOverflow]: Signed integer overflow for expression '0-1'.
#  124|     PipeWireSource *pipewire_source = (PipeWireSource *) source;
#  125|   
#  126|->   pw_loop_leave (pipewire_source->pipewire_loop);
#  127|     pw_loop_destroy (pipewire_source->pipewire_loop);
#  128|   }

Error: CPPCHECK_WARNING (CWE-190): [#def484]
mutter-47_alpha-build/mutter-47.alpha/src/tests/screen-cast-client.c:151: error[integerOverflow]: Signed integer overflow for expression '0-1'.
#  149|   
#  150|     g_source_add_unix_fd (source,
#  151|->                         pw_loop_get_fd (pipewire_source->pipewire_loop),
#  152|                           G_IO_IN | G_IO_ERR);
#  153|   

Error: CPPCHECK_WARNING (CWE-190): [#def485]
mutter-47_alpha-build/mutter-47.alpha/src/tests/screen-cast-client.c:154: error[integerOverflow]: Signed integer overflow for expression '0-1'.
#  152|                           G_IO_IN | G_IO_ERR);
#  153|   
#  154|->   pw_loop_enter (pipewire_source->pipewire_loop);
#  155|     g_source_attach (source, NULL);
#  156|   

Error: CPPCHECK_WARNING (CWE-190): [#def486]
mutter-47_alpha-build/mutter-47.alpha/src/tests/screen-cast-client.c:192: error[integerOverflow]: Signed integer overflow for expression '0-1'.
#  190|     g_assert_nonnull (_pipewire_core);
#  191|   
#  192|->   pw_core_add_listener (_pipewire_core,
#  193|                           &_pipewire_core_listener,
#  194|                           &core_events,

Error: CPPCHECK_WARNING: [#def487]
mutter-47_alpha-build/mutter-47.alpha/src/tests/stage-view-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def488]
mutter-47_alpha-build/mutter-47.alpha/src/tests/stage-view-tests.c:1297:3: warning[deadcode.DeadStores]: Value stored to 'timeline' is never read
# 1295|   
# 1296|     clutter_actor_add_child (container2, floating);
# 1297|->   timeline = clutter_timeline_new_for_actor (floating, 100);
# 1298|     clutter_actor_remove_child (container2, floating);
# 1299|   

Error: CPPCHECK_WARNING: [#def489]
mutter-47_alpha-build/mutter-47.alpha/src/tests/test-runner.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def490]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/invalid-subsurfaces.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def491]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/subsurface-corner-cases.c:209:3: warning[deadcode.DeadStores]: Value stored to 'child' is never read
#  207|   
#  208|     wl_subsurface_destroy (child);
#  209|->   child = wl_subcompositor_get_subsurface (display->subcompositor,
#  210|                                              child_surface,
#  211|                                              toplevel_surface);

Error: CPPCHECK_WARNING: [#def492]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/wayland-test-client-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def493]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/wayland-test-client-utils.c:963:11: warning[core.NullDereference]: Array access (from variable 'modifiers') results in a null pointer dereference
#  961|     for (i = 0; i < n_modifiers; i++)
#  962|       {
#  963|->       if (modifiers[i] == DRM_FORMAT_MOD_INVALID ||
#  964|             modifiers[i] == DRM_FORMAT_MOD_LINEAR)
#  965|           {

Error: CLANG_WARNING: [#def494]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/wayland-test-client-utils.c:1272:34: warning[core.UndefinedBinaryOperatorResult]: The right operand of '/' is a garbage value
# 1270|     for (i = 0; i < dmabuf->n_planes; i++)
# 1271|       {
# 1272|->       size_t width = priv->width / hsub[i];
# 1273|         size_t height = priv->height / vsub[i];
# 1274|   

Error: CLANG_WARNING: [#def495]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/wayland-test-client-utils.c:1361:11: warning[core.NullDereference]: Array access (from variable 'modifiers') results in a null pointer dereference
# 1359|     for (i = 0; i < n_modifiers; i++)
# 1360|       {
# 1361|->       if (modifiers[i] == DRM_FORMAT_MOD_INVALID ||
# 1362|             modifiers[i] == DRM_FORMAT_MOD_LINEAR)
# 1363|           {

Error: CPPCHECK_WARNING: [#def496]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-test-clients/xdg-foreign.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def497]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-unit-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def498]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-unit-tests.c:769:3: warning[deadcode.DeadStores]: Value stored to 'second_virtual_monitor' is never read
#  767|                                                           CLUTTER_POINTER_DEVICE);
#  768|   
#  769|->   second_virtual_monitor = meta_create_test_monitor (test_context,
#  770|                                                        300, 200, 60.0);
#  771|   

Error: CPPCHECK_WARNING: [#def499]
mutter-47_alpha-build/mutter-47.alpha/src/tests/wayland-x11-interop-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def500]
mutter-47_alpha-build/mutter-47.alpha/src/tests/xwayland-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def501]
mutter-47_alpha-build/mutter-47.alpha/src/third_party/xcursor/xcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def502]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-activation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def503]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-121): [#def504]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c: scope_hint: In function ‘get_offset_and_stride’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c:333:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c:333:21: note: write of 4 bytes to beyond the end of ‘shm_offset’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c:333:21: note: valid subscripts for ‘shm_offset’ are ‘[0]’ to ‘[2]’
#  331|         int vertical_factor = mt_format_info->vsub[i - 1];
#  332|   
#  333|->       shm_offset[i] = shm_offset[i - 1] +
#  334|                         (shm_stride[i - 1] * (height / vertical_factor));
#  335|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def505]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c: scope_hint: In function ‘process_shm_buffer_damage’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-buffer.c:789:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  787|   
#  788|     format_info = get_supported_shm_format_info (shm_format);
#  789|->   multi_format = format_info->multi_texture_format;
#  790|     mt_format_info = meta_multi_texture_format_get_info (multi_format);
#  791|     n_planes = mt_format_info->n_planes;

Error: CPPCHECK_WARNING: [#def506]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def507]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-dma-buf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def508]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-dma-buf.c:1729:38: warning[unix.Malloc]: Potential leak of memory pointed to by 'format_table'
# 1727|       }
# 1728|   
# 1729|->   dma_buf_manager->format_table_file =
# 1730|       meta_anonymous_file_new (size, (uint8_t *) format_table);
# 1731|   }

Error: CPPCHECK_WARNING: [#def509]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-gtk-shell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def510]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-input.c:259:3: warning[deadcode.DeadStores]: Value stored to 'handler' is never read
#  257|   
#  258|     g_assert (!wl_list_empty (&input->event_handler_list));
#  259|->   handler = wl_container_of (input->event_handler_list.next, handler, link);
#  260|     meta_wayland_input_invalidate_all_focus (input);
#  261|   }

Error: CPPCHECK_WARNING: [#def511]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-linux-drm-syncobj.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def512]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-linux-drm-syncobj.c: scope_hint: In function ‘meta_wayland_drm_syncobj_manager_new’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-linux-drm-syncobj.c:512:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device_path, 524290)’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/native/meta-device-pool.h:20: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-linux-drm-syncobj.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-linux-drm-syncobj.c:466:3: note: in expansion of macro ‘g_assert’
#  510|       }
#  511|   
#  512|->   drm_fd = open (device_path, O_RDWR | O_CLOEXEC);
#  513|     if (drm_fd < 0)
#  514|       {

Error: CPPCHECK_WARNING: [#def513]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-outputs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def514]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-pointer-constraints.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def515]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-pointer.c:287:23: warning[deadcode.DeadStores]: Value stored to 'pointer' during its initialization is never read
#  285|   meta_wayland_pointer_unbind_pointer_client_resource (struct wl_resource *resource)
#  286|   {
#  287|->   MetaWaylandPointer *pointer = wl_resource_get_user_data (resource);
#  288|     MetaWaylandPointerClient *pointer_client;
#  289|     struct wl_client *client = wl_resource_get_client (resource);

Error: CPPCHECK_WARNING (CWE-457): [#def516]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-popup.c:225: error[uninitvar]: Uninitialized variable: popup->popup_surface
#  223|     wl_list_for_each_safe (popup, tmp, &grab->all_popups, link)
#  224|       {
#  225|->       MetaWaylandPopupSurface *popup_surface = popup->popup_surface;
#  226|   
#  227|         meta_wayland_popup_surface_done (popup_surface);

Error: CPPCHECK_WARNING (CWE-457): [#def517]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-popup.c:227: error[uninitvar]: Uninitialized variable: popup_surface
#  225|         MetaWaylandPopupSurface *popup_surface = popup->popup_surface;
#  226|   
#  227|->       meta_wayland_popup_surface_done (popup_surface);
#  228|         meta_wayland_popup_destroy (popup);
#  229|         meta_wayland_popup_surface_finish (popup_surface);

Error: CPPCHECK_WARNING: [#def518]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-presentation-time.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def519]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-presentation-time.c:121: error[uninitvar]: Uninitialized variable: feedback->surface
#  119|     wl_list_for_each_safe (feedback, next, feedbacks, link)
#  120|       {
#  121|->       if (META_IS_WAYLAND_CURSOR_SURFACE (feedback->surface->role))
#  122|           continue;
#  123|   

Error: CPPCHECK_WARNING (CWE-457): [#def520]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-presentation-time.c:416: error[uninitvar]: Uninitialized variable: feedback->surface
#  414|     wl_list_for_each_safe (feedback, next, feedbacks, link)
#  415|       {
#  416|->       if (feedback->surface->role == role)
#  417|           meta_wayland_presentation_feedback_discard (feedback);
#  418|       }

Error: CPPCHECK_WARNING: [#def521]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-seat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface.c: scope_hint: In function ‘meta_wayland_surface_begin_grab_op’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface.c:1662:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/graphene-1.0/graphene.h:46: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl.h:44: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-manager-private.h:26: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface-private.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface.c:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface.c:1666:38: note: in expansion of macro ‘GRAPHENE_POINT_INIT’
# 1660|        constrain it in the same way as it would be if the window was
# 1661|        being moved/resized via a SSD event. */
# 1662|->   return meta_window_begin_grab_op (window,
# 1663|                                       grab_op,
# 1664|                                       device, sequence,

Error: CPPCHECK_WARNING: [#def523]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-tablet-pad-ring.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def524]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-tablet-pad-strip.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def525]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-tablet-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def526]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-text-input.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def527]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-touch.c:505:14: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's'
#  503|       return;
#  504|   
#  505|->   surfaces = s = touch_get_surfaces (touch, FALSE);
#  506|   
#  507|     for (s = surfaces; s; s = s->next)

Error: CPPCHECK_WARNING: [#def528]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def529]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:235:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'states'
#  233|   
#  234|   free:
#  235|->   meta_wayland_transaction_free (transaction);
#  236|   }
#  237|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c: scope_hint: In function ‘meta_wayland_transaction_add_placement_op’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:501:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface-private.h:20: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-actor-surface.h:21: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-subsurface.h:21: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.h:21: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:22: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
#  499|     entry = meta_wayland_transaction_ensure_entry (transaction, surface);
#  500|   
#  501|->   if (!entry->state)
#  502|       entry->state = meta_wayland_surface_state_new ();
#  503|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c: scope_hint: In function ‘meta_wayland_transaction_add_subsurface_position’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:518:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
#  516|   
#  517|     entry = meta_wayland_transaction_ensure_entry (transaction, surface);
#  518|->   entry->x = x;
#  519|     entry->y = y;
#  520|     entry->has_sub_pos = TRUE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c: scope_hint: In function ‘meta_wayland_transaction_add_xdg_popup_reposition’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:534:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
#  532|     entry = meta_wayland_transaction_ensure_entry (transaction, surface);
#  533|   
#  534|->   if (entry->state)
#  535|       g_clear_pointer (&entry->state->xdg_positioner, g_free);
#  536|     else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c: scope_hint: In function ‘meta_wayland_transaction_merge_pending_state’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:605:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:467:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl-types.h:45: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl1-context.h:39: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/cogl/cogl/cogl.h:48: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor-manager-private.h:26: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-surface-private.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:468:13: note: in expansion of macro ‘g_object_ref’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:469:3: note: in expansion of macro ‘g_return_val_if_fail’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-transaction.c:469:3: note: in expansion of macro ‘g_return_val_if_fail’
#  603|     entry = meta_wayland_transaction_ensure_entry (transaction, surface);
#  604|   
#  605|->   if (!entry->state)
#  606|       {
#  607|         entry->state = pending;

Error: CLANG_WARNING: [#def534]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-foreign.c:101:7: warning[unix.Malloc]: Use of memory after it is freed
#   99|         MetaWaylandXdgImported *imported = exported->imported->data;
#  100|   
#  101|->       imported->send_destroyed_func (imported->resource);
#  102|         meta_wayland_xdg_imported_destroy (imported);
#  103|       }

Error: CPPCHECK_WARNING: [#def535]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-shell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def536]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-shell.c: scope_hint: In function ‘xdg_surface_get_toplevel’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-shell.c:1713:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1711|       meta_wayland_xdg_surface_get_wm_base_resource (xdg_surface);
# 1712|   
# 1713|->   wl_resource_post_error (xdg_wm_base_resource, XDG_WM_BASE_ERROR_ROLE,
# 1714|                             "wl_surface@%d already has a role assigned",
# 1715|                             wl_resource_get_id (surface->resource));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def537]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-shell.c: scope_hint: In function ‘xdg_surface_get_popup’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland-xdg-shell.c:1730:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1728|     MetaWaylandSurface *surface = surface_from_xdg_surface_resource (resource);
# 1729|   
# 1730|->   wl_resource_post_error (priv->shell_client->resource,
# 1731|                             XDG_WM_BASE_ERROR_ROLE,
# 1732|                             "wl_surface@%d already has a role assigned",

Error: CPPCHECK_WARNING (CWE-457): [#def538]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland.c:512: error[uninitvar]: Uninitialized variables: feedback.link, feedback.resource, feedback.surface
#  510|     wl_list_for_each_safe (feedback, next, feedbacks, link)
#  511|       {
#  512|->       meta_wayland_presentation_feedback_present (feedback,
#  513|                                                     frame_info,
#  514|                                                     output);

Error: CLANG_WARNING: [#def539]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-wayland.c:625:3: warning[deadcode.DeadStores]: Value stored to 'result' is never read
#  623|     g_assert (session_bus);
#  624|   
#  625|->   result = g_dbus_connection_call_sync (session_bus,
#  626|   			       "org.gnome.SessionManager",
#  627|   			       "/org/gnome/SessionManager",

Error: CPPCHECK_WARNING: [#def540]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-window-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def541]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-xwayland-dnd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def542]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-xwayland-dnd.c:1212:20: warning[deadcode.DeadStores]: Value stored to 'dnd' during its initialization is never read
# 1210|       meta_context_get_wayland_compositor (context);
# 1211|     MetaXWaylandManager *manager = &compositor->xwayland_manager;
# 1212|->   MetaXWaylandDnd *dnd = manager->dnd;
# 1213|     guint32 i;
# 1214|   

Error: CPPCHECK_WARNING: [#def543]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-xwayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def544]
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-xwayland.c: scope_hint: In function ‘bind_to_abstract_socket’
mutter-47_alpha-build/mutter-47.alpha/src/wayland/meta-xwayland.c:324:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor
#  322|   
#  323|     fd = socket (PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0);
#  324|->   if (fd < 0)
#  325|       {
#  326|         g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errno),

Error: CPPCHECK_WARNING: [#def545]
mutter-47_alpha-build/mutter-47.alpha/src/x11/events.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def546]
mutter-47_alpha-build/mutter-47.alpha/src/x11/events.c:1451:11: warning[deadcode.DeadStores]: Value stored to 'window' is never read
# 1449|         if (window == NULL && event->xmap.event == x11_display->xroot)
# 1450|           {
# 1451|->           window = meta_window_x11_new (display, event->xmap.window,
# 1452|                                           FALSE, META_COMP_EFFECT_CREATE);
# 1453|           }

Error: CLANG_WARNING: [#def547]
mutter-47_alpha-build/mutter-47.alpha/src/x11/events.c:1507:11: warning[deadcode.DeadStores]: Value stored to 'window' is never read
# 1505|               }
# 1506|   
# 1507|->           window = meta_window_x11_new (display, event->xmaprequest.window,
# 1508|                                           FALSE, META_COMP_EFFECT_CREATE);
# 1509|           }

Error: CPPCHECK_WARNING: [#def548]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-sync-counter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def549]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def550]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c: scope_hint: In function ‘get_screen_name’
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c:1686:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/meta/display.h:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/core/display-private.h:27: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c:33: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c:1682:11: note: in expansion of macro ‘g_strdup’
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-display.c: scope_hint: In function ‘get_screen_name’
/usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
# 1684|     /* Change display name to specify this screen.
# 1685|      */
# 1686|->   p = strrchr (dname, ':');
# 1687|     if (p)
# 1688|       {

Error: CPPCHECK_WARNING: [#def551]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-frame.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def552]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-group.c:66:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'group'
#   64|                                        &e);
#   65|     if (e || !attrs)
#   66|->     return NULL;
#   67|   
#   68|     const uint32_t events[] = { attrs->your_event_mask | XCB_EVENT_MASK_PROPERTY_CHANGE };

Error: CPPCHECK_WARNING: [#def553]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-keybindings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def554]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-selection-output-stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def555]
mutter-47_alpha-build/mutter-47.alpha/src/x11/meta-x11-selection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def556]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def557]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:470:36: warning[unix.Malloc]: Use of memory after it is freed
#  468|                                      SmDialogNormal,
#  469|                                      interact_callback,
#  470|->                                    session_state_ref (state));
#  471|   
#  472|         if (status)

Error: CLANG_WARNING: [#def558]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:489:28: warning[unix.Malloc]: Use of memory after it is freed
#  487|   
#  488|         SmcSaveYourselfDone (session_connection,
#  489|->                            state->successful);
#  490|   
#  491|         if (state->shutdown)

Error: CLANG_WARNING: [#def559]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:497:3: warning[unix.Malloc]: Use of memory after it is freed
#  495|       }
#  496|   
#  497|->   session_state_unref (state);
#  498|   }
#  499|   

Error: CLANG_WARNING: [#def560]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:575:3: warning[unix.Malloc]: Use of memory after it is freed
#  573|   
#  574|     save_yourself_possibly_done (session_state_ref (state));
#  575|->   session_state_unref (state);
#  576|   }
#  577|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def561]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c: scope_hint: In function ‘save_state’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:950:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(full_save_path, "w")’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-logical-monitor.h:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/core/window-private.h:34: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.h:31: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:26: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:889:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/meta/util.h:29: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/core/util-private.h:28: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-crtc-mode.h:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-crtc.h:23: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-monitor.h:25: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/backends/meta-logical-monitor.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
#  948|      */
#  949|   
#  950|->   fprintf (outfile, "<mutter_session id=\"%s\">\n",
#  951|              client_id);
#  952|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:950:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(full_save_path, "w")’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:889:3: note: in expansion of macro ‘g_assert’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:1057:11: note: in expansion of macro ‘meta_topic’
#  948|      */
#  949|   
#  950|->   fprintf (outfile, "<mutter_session id=\"%s\">\n",
#  951|              client_id);
#  952|   

Error: CLANG_WARNING: [#def563]
mutter-47_alpha-build/mutter-47.alpha/src/x11/session.c:954:3: warning[deadcode.DeadStores]: Value stored to 'stack_position' is never read
#  952|   
#  953|     windows = meta_display_list_windows (display, META_LIST_DEFAULT);
#  954|->   stack_position = 0;
#  955|   
#  956|     windows = g_slist_sort (windows, meta_display_stack_cmp);

Error: CPPCHECK_WARNING: [#def564]
mutter-47_alpha-build/mutter-47.alpha/src/x11/window-props.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def565]
mutter-47_alpha-build/mutter-47.alpha/src/x11/window-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def566]
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def567]
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c: scope_hint: In function ‘class_hint_from_results’
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c:736:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/meta/meta-x11-display.h:22: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.h:27: included_from: Included from here.
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c:83: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c:842:11: note: in expansion of macro ‘g_new0’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c:734:26: note: in expansion of macro ‘g_strdup’
mutter-47_alpha-build/mutter-47.alpha/src/x11/xprops.c: scope_hint: In function ‘class_hint_from_results’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  734|     class_hint->res_name = g_strdup ((char *) results->prop);
#  735|   
#  736|->   len_name = strlen (class_hint->res_name);
#  737|     if (len_name == (int) results->n_items)
#  738|       class_hint->res_class = g_strdup ("");

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-108.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namemutter-47~alpha-1.fc41
store-results-to/tmp/tmpg4x2_qys/mutter-47~alpha-1.fc41.tar.xz
time-created2024-07-03 16:35:28
time-finished2024-07-03 16:56:34
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpg4x2_qys/mutter-47~alpha-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpg4x2_qys/mutter-47~alpha-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9