Task #1514 - libadwaita-1.5.0-1.fc40/scan-results.err

back to task #1514
download
Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/demo/adw-demo-debug-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/doc/tools/screenshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/tmp-introspectr74n3gov/Adw-1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/tmp-introspectr74n3gov/Adw-1.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:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_new_from_appdata’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2036:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:9: 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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:3452:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:3452:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:3452:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:3452:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2001:3: note: in expansion of macro ‘g_return_val_if_fail’
/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’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 2034|       if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop,
# 2035|                                                          g_str_equal, NULL))
# 2036|->       application_id[strlen(application_id) - 8] = '\0';
# 2037|   
# 2038|       g_free (appid_desktop);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_application_icon.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2169:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_application_icon.part.0’
# 2167|   
# 2168|     gtk_widget_set_visible (self->app_icon_image,
# 2169|->                           application_icon && *application_icon);
# 2170|   
# 2171|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_application_name.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2214:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_application_name.part.0’
# 2212|   
# 2213|     gtk_widget_set_visible (self->app_name_label,
# 2214|->                           application_name && *application_name);
# 2215|   
# 2216|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_developer_name.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2264:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_developer_name.part.0’
# 2262|   
# 2263|     gtk_widget_set_visible (self->developer_name_label,
# 2264|->                           developer_name && *developer_name);
# 2265|   
# 2266|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DEVELOPER_NAME]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_version.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-dialog.c:2311:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_version.part.0’
# 2309|       return;
# 2310|   
# 2311|->   gtk_widget_set_visible (self->version_button, version && *version);
# 2312|   
# 2313|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]);

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_new_from_appdata’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2035:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:8: 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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2000:3: note: in expansion of macro ‘g_return_val_if_fail’
/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’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 2033|       if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop,
# 2034|                                                          g_str_equal, NULL))
# 2035|->       application_id[strlen(application_id) - 8] = '\0';
# 2036|   
# 2037|       g_free (appid_desktop);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_application_icon.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2168:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_application_icon.part.0’
# 2166|   
# 2167|     gtk_widget_set_visible (self->app_icon_image,
# 2168|->                           application_icon && *application_icon);
# 2169|   
# 2170|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_application_name.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2213:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_application_name.part.0’
# 2211|   
# 2212|     gtk_widget_set_visible (self->app_name_label,
# 2213|->                           application_name && *application_name);
# 2214|   
# 2215|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_developer_name.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2263:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_developer_name.part.0’
# 2261|   
# 2262|     gtk_widget_set_visible (self->developer_name_label,
# 2263|->                           developer_name && *developer_name);
# 2264|   
# 2265|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DEVELOPER_NAME]);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_version.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-about-window.c:2310:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_version.part.0’
# 2308|       return;
# 2309|   
# 2310|->   gtk_widget_set_visible (self->version_button, version && *version);
# 2311|   
# 2312|     g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]);

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-action-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c: scope_hint: In function ‘adw_alert_dialog_set_heading.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c:1265:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’
/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.
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.h:16: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c:12: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_alert_dialog_set_heading.part.0’
/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/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.h:18: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c:1264:24: note: in expansion of macro ‘GTK_LABEL’
# 1263|   
# 1264|     gtk_label_set_label (GTK_LABEL (priv->heading_label), heading);
# 1265|->   gtk_widget_set_visible (priv->heading_label, heading && *heading);
# 1266|   
# 1267|     if (heading && *heading)

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c: scope_hint: In function ‘adw_alert_dialog_set_body.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c:1473:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_alert_dialog_set_body.part.0’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-alert-dialog.c:1472:24: note: in expansion of macro ‘GTK_LABEL’
# 1471|   
# 1472|     gtk_label_set_label (GTK_LABEL (priv->body_label), body);
# 1473|->   gtk_widget_set_visible (priv->body_label, body && *body);
# 1474|   
# 1475|     if (body && *body)

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-back-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-back-button.c:283:13: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
#  281|     }
#  282|   
#  283|->   g_assert (pop_data.outer_view.view);
#  284|     g_assert (pop_data.outer_view.page);
#  285|   

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-bottom-sheet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-breakpoint-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-breakpoint.c:651:24: warning[unix.Malloc]: Potential leak of memory pointed to by 'cond_1'
#  649|         str++;
#  650|       } else {
#  651|->       *endp = (char *) str;
#  652|         *error = CONDITION_PARSER_ERROR_UNEXPECTED_CHARACTER;
#  653|         return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-button-content.c: scope_hint: In function ‘adw_button_content_set_icon_name.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-button-content.c:355:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_name’
/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.
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-button-content.h:15: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-button-content.c:10: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_button_content_set_icon_name.part.0’
#  353|       return;
#  354|   
#  355|->   if (!icon_name[0])
#  356|       icon_name = "image-missing";
#  357|   

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel-indicator-dots.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel-indicator-lines.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_reorder’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1286: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.
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.h:13: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:9: 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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1273:3: note: in expansion of macro ‘g_return_if_fail’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:82: note: in expansion of macro ‘GTK_TYPE_WIDGET’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1275:3: note: in expansion of macro ‘g_return_if_fail’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1275:3: note: in expansion of macro ‘g_return_if_fail’
# 1284|       return;
# 1285|   
# 1286|->   old_point = info->snap_point;
# 1287|     n_pages = adw_carousel_get_n_pages (self);
# 1288|   

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_remove’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1366:18: 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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1358:3: note: in expansion of macro ‘g_return_if_fail’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:82: note: in expansion of macro ‘GTK_TYPE_WIDGET’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1360:3: note: in expansion of macro ‘g_return_if_fail’
/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:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1360:3: note: in expansion of macro ‘g_return_if_fail’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_remove’
/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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1364:3: note: in expansion of macro ‘g_assert_nonnull’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1364:3: note: in expansion of macro ‘g_assert_nonnull’
# 1364|     g_assert_nonnull (info);
# 1365|   
# 1366|->   info->removing = TRUE;
# 1367|   
# 1368|     gtk_widget_unparent (child);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_get_nth_page.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-carousel.c:1462:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1460|     g_return_val_if_fail (n < adw_carousel_get_n_pages (self), NULL);
# 1461|   
# 1462|->   info = get_nth_link (self, n)->data;
# 1463|   
# 1464|     return info->widget;

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-clamp-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-clamp-scrollable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-combo-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-flap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-leaflet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c: scope_hint: In function ‘adw_message_dialog_set_heading.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c:1393:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’
/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.
libadwaita-1.5.0-build/libadwaita-1.5.0/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.h:15: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c:10: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_message_dialog_set_heading.part.0’
/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/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.h:17: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c:1392:24: note: in expansion of macro ‘GTK_LABEL’
# 1391|   
# 1392|     gtk_label_set_label (GTK_LABEL (priv->heading_label), heading);
# 1393|->   gtk_widget_set_visible (priv->heading_label, heading && *heading);
# 1394|   
# 1395|     if (heading && *heading)

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c: scope_hint: In function ‘adw_message_dialog_set_body.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c:1601:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_message_dialog_set_body.part.0’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-message-dialog.c:1600:24: note: in expansion of macro ‘GTK_LABEL’
# 1599|   
# 1600|     gtk_label_set_label (GTK_LABEL (priv->body_label), body);
# 1601|->   gtk_widget_set_visible (priv->body_label, body && *body);
# 1602|   
# 1603|     if (body && *body)

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-navigation-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-navigation-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-overlay-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c: scope_hint: In function ‘filter_search_results’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c:177:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c:9: 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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c:172:3: note: in expansion of macro ‘g_assert’
/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/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.h:16: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c:11: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-dialog.c:174:51: note: in expansion of macro ‘GTK_EDITABLE’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
#  175|     title = make_comparable (adw_preferences_row_get_title (row), row, TRUE);
#  176|   
#  177|->   if (!!strstr (title, terms)) {
#  178|       result = TRUE;
#  179|     } else if (ADW_IS_ACTION_ROW (row)) {

Error: GCC_ANALYZER_WARNING (CWE-688):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c: scope_hint: In function ‘filter_search_results’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c:180:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c:8: 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’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c:175:3: note: in expansion of macro ‘g_assert’
/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/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.h:15: included_from: Included from here.
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c:10: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-preferences-window.c:177:51: note: in expansion of macro ‘GTK_EDITABLE’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
#  178|     title = make_comparable (adw_preferences_row_get_title (row), row, TRUE);
#  179|   
#  180|->   if (!!strstr (title, terms)) {
#  181|       result = TRUE;
#  182|     } else if (ADW_IS_ACTION_ROW (row)) {

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-settings-impl-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-spring-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-squeezer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-status-page.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-swipe-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c: scope_hint: In function ‘reset_reorder_animations.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c:1238:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1236|     if (self->reorder_index > original_index)
# 1237|       for (i = 0; i < self->reorder_index - original_index; i++) {
# 1238|->       l = l->next;
# 1239|         animate_reorder_offset (self, l->data, 0);
# 1240|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c:1244:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1242|     if (self->reorder_index < original_index)
# 1243|       for (i = 0; i < original_index - self->reorder_index; i++) {
# 1244|->       l = l->prev;
# 1245|         animate_reorder_offset (self, l->data, 0);
# 1246|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c: scope_hint: In function ‘page_reordered_cb.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c:1272:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1270|   
# 1271|     link = find_link_for_page (self, page);
# 1272|->   info = link->data;
# 1273|     original_index = g_list_position (self->tabs, link);
# 1274|   

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-box.c:3267:30: warning[core.NullDereference]: Access to field 'width' results in a dereference of a null pointer (loaded from variable 'info')
# 3265|       child_allocation.x = ((info == self->reordered_tab) ? self->reorder_window_x : info->pos) - (int) floor (value);
# 3266|       child_allocation.y = 0;
# 3267|->     child_allocation.width = MAX (0, info->width);
# 3268|       child_allocation.height = height;
# 3269|   

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘reset_reorder_animations.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:1264:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1262|     if (self->reorder_index > original_index)
# 1263|       for (i = 0; i < self->reorder_index - original_index; i++) {
# 1264|->       l = l->next;
# 1265|         animate_reorder_offset (self, l->data, 0);
# 1266|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:1270:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1268|     if (self->reorder_index < original_index)
# 1269|       for (i = 0; i < original_index - self->reorder_index; i++) {
# 1270|->       l = l->prev;
# 1271|         animate_reorder_offset (self, l->data, 0);
# 1272|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘page_reordered_cb.part.0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:1296:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1294|   
# 1295|     link = find_link_for_page (self, page);
# 1296|->   info = link->data;
# 1297|     original_index = g_list_position (self->tabs, link);
# 1298|   

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:3104:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus’
# 3102|     } else if (direction == GTK_DIR_DOWN) {
# 3103|       GList *last_link = find_nth_visible_tab (self, get_n_visible_tabs (self) - 1);
# 3104|->     TabInfo *last_info = last_link->data;
# 3105|       int last_col = (int) round (fmod (last_info->final_index, n_columns));
# 3106|       int empty_slots = n_columns - last_col;

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus_first_row’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:3819:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3817|     column = CLAMP (column, 0, MIN (n_tabs, self->n_columns) - 1);
# 3818|   
# 3819|->   info = find_nth_visible_tab (self, column)->data;
# 3820|   
# 3821|     scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION);

Error: GCC_ANALYZER_WARNING (CWE-476):
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus_last_row’
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-grid.c:3846:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3844|     column = CLAMP (column, 0, MIN (n_tabs - 1, last_col));
# 3845|   
# 3846|->   info = find_nth_visible_tab (self, n_tabs - 1 - last_col + column)->data;
# 3847|   
# 3848|     scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION);

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-overview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-thumbnail.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-tab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-toast-overlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-toast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-toolbar-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-view-stack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/src/adw-widget-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/manual/test-toolbars.c:188:5: warning[deadcode.DeadStores]: Value stored to 'page' is never read
#  186|       stack = adw_view_stack_new ();
#  187|   
#  188|->     page = adw_view_stack_add_titled_with_icon (ADW_VIEW_STACK (stack),
#  189|                                                   gtk_label_new ("Page 1"),
#  190|                                                   NULL,

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/manual/test-toolbars.c:200:5: warning[deadcode.DeadStores]: Value stored to 'page' is never read
#  198|       adw_view_stack_page_set_needs_attention (page, TRUE);
#  199|       adw_view_stack_page_set_badge_number (page, 3);
#  200|->     page = adw_view_stack_add_titled_with_icon (ADW_VIEW_STACK (stack),
#  201|                                                   gtk_label_new ("Page 3"),
#  202|                                                   NULL,

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-about-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-about-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-alert-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-breakpoint-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-button-content.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-carousel-indicator-dots.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-carousel-indicator-lines.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-carousel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-combo-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-entry-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-expander-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-flap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-leaflet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-message-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-navigation-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-navigation-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-overlay-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-spin-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-split-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-squeezer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-status-page.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-tab-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-tab-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-tab-overview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-tab-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-tab-view.c:803:3: warning[deadcode.DeadStores]: Value stored to 'handler' is never read
#  801|   
#  802|     /* Defer closing */
#  803|->   handler = g_signal_connect (view, "close-page", G_CALLBACK (close_noop), NULL);
#  804|   
#  805|     adw_tab_view_close_page (view, pages[0]);

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-timed-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-toast-overlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-toast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-toolbar-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libadwaita-1.5.0-build/libadwaita-1.5.0/tests/test-window-title.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.