gnome-initial-setup-46.2-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gis-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def3]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘pages_to_skip_from_file’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:129:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_new’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib.h:88: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:29: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.h:25: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrvbuilder.h:36:15: note: declared here
#  127|     GisDriverMode driver_mode;
#  128|     GisDriverMode other_modes;
#  129|->   g_autoptr(GStrvBuilder) builder = g_strv_builder_new();
#  130|     g_auto (GStrv) skip_pages = NULL;
#  131|     g_autofree char *mode_group = NULL;

Error: COMPILER_WARNING (CWE-477): [#def4]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:165:7: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  163|     if (skip_pages != NULL)
#  164|       {
#  165|->       g_strv_builder_addv (builder, (const char **) skip_pages);
#  166|         g_clear_pointer (&skip_pages, g_strfreev);
#  167|       }

Error: COMPILER_WARNING (CWE-477): [#def5]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:179:7: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  177|     if (skip_pages != NULL)
#  178|       {
#  179|->       g_strv_builder_addv (builder, (const char **) skip_pages);
#  180|         g_clear_pointer (&skip_pages, g_strfreev);
#  181|       }

Error: COMPILER_WARNING (CWE-477): [#def6]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:195:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  193|         if (skip_pages != NULL)
#  194|           {
#  195|->           g_strv_builder_addv (builder, (const char **) skip_pages);
#  196|             g_clear_pointer (&skip_pages, g_strfreev);
#  197|           }

Error: COMPILER_WARNING (CWE-477): [#def7]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:219:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  217|   
#  218|         if (skip_pages != NULL) {
#  219|->           g_strv_builder_addv (builder, (const char **) skip_pages);
#  220|             g_clear_pointer (&skip_pages, g_strfreev);
#  221|         }

Error: COMPILER_WARNING (CWE-477): [#def8]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:241:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_add’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:45:6: note: declared here
#  239|         for (i = 0; spoke_page_map[i].spoke_name != NULL; i++) {
#  240|           if (g_key_file_get_boolean (anaconda, spoke_page_map[i].spoke_name, "visited", NULL))
#  241|->           g_strv_builder_add (builder, spoke_page_map[i].page_name);
#  242|         }
#  243|       }

Error: COMPILER_WARNING (CWE-477): [#def9]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:246:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_end’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:61:7: note: declared here
#  244|     }
#  245|   
#  246|->   return g_strv_builder_end (builder);
#  247|   }
#  248|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘destroy_pages_after’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:261:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
#  259|         break;
#  260|   
#  261|->   l = l->next;
#  262|     for (; l != NULL; l = next) {
#  263|       next = l->next;

Error: CLANG_WARNING: [#def11]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:261:7: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'l')
#  259|         break;
#  260|   
#  261|->   l = l->next;
#  262|     for (; l != NULL; l = next) {
#  263|       next = l->next;

Error: COMPILER_WARNING (CWE-477): [#def12]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘write_state’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:472:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_new’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:36:15: note: declared here
#  470|     state = g_key_file_new ();
#  471|   
#  472|->   builder = g_strv_builder_new ();
#  473|   
#  474|     pages = gis_assistant_get_all_pages (assistant);

Error: COMPILER_WARNING (CWE-477): [#def13]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:477:5: warning[-Wdeprecated-declarations]: ‘g_strv_builder_add’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:45:6: note: declared here
#  475|     for (node = pages; node != NULL; node = node->next) {
#  476|       GisPage *page = node->data;
#  477|->     g_strv_builder_add (builder, GIS_PAGE_GET_CLASS (page)->page_id);
#  478|     }
#  479|   

Error: COMPILER_WARNING (CWE-477): [#def14]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:480:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_end’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:61:7: note: declared here
#  478|     }
#  479|   
#  480|->   visited_pages = g_strv_builder_end (builder);
#  481|   
#  482|     g_key_file_set_string_list (state,

Error: COMPILER_WARNING (CWE-477): [#def15]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘show_error_dialog’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:129:3: warning[-Wdeprecated-declarations]: ‘gtk_message_dialog_new’ is deprecated
/usr/include/gtk-4.0/gtk/gtk.h:192: included_from: Included from here.
/usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.h:24: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:81:12: note: declared here
#  127|       return;
#  128|   
#  129|->   dialog = gtk_message_dialog_new (GTK_WINDOW (gtk_widget_get_root (GTK_WIDGET (page))),
#  130|                                      GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
#  131|                                      GTK_MESSAGE_ERROR,

Error: COMPILER_WARNING (CWE-477): [#def16]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:137:5: warning[-Wdeprecated-declarations]: ‘gtk_message_dialog_format_secondary_text’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:101:12: note: declared here
#  135|     if (error != NULL) {
#  136|       g_dbus_error_strip_remote_error (error);
#  137|->     gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
#  138|                                                 "%s", error->message);
#  139|     }

Error: COMPILER_WARNING (CWE-477): [#def17]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘gis_account_page_enterprise_validate’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:158:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active_iter’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:89:15: note: declared here
#  156|     valid_name = is_valid_name (name);
#  157|   
#  158|->   if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  159|       gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  160|                           &iter, 0, &name, -1);

Error: COMPILER_WARNING (CWE-477): [#def18]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:159:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here
#  157|   
#  158|     if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  159|->     gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  160|                           &iter, 0, &name, -1);
#  161|     } else {

Error: COMPILER_WARNING (CWE-477): [#def19]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:159:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcellarea.h:30: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:64: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  157|   
#  158|     if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  159|->     gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  160|                           &iter, 0, &name, -1);
#  161|     } else {

Error: CLANG_WARNING: [#def20]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:377:35: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  375|   
#  376|     } else if (g_error_matches (error, UM_REALM_ERROR, UM_REALM_ERROR_BAD_HOSTNAME)) {
#  377|->     g_debug ("Bad host name: %s", error->message);
#  378|       set_entry_validation_error (GTK_ENTRY (page->join_computer), error->message);
#  379|   

Error: CLANG_WARNING: [#def21]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:381:40: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  379|   
#  380|     } else if (g_error_matches (error, UM_REALM_ERROR, UM_REALM_ERROR_BAD_PASSWORD)) {
#  381|->     g_debug ("Bad admin password: %s", error->message);
#  382|       set_password_validation_error (page->join_password, error->message);
#  383|   

Error: CLANG_WARNING: [#def22]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:385:41: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
#  383|   
#  384|     } else {
#  385|->     g_debug ("Admin login failure: %s", error->message);
#  386|       g_dbus_error_strip_remote_error (error);
#  387|       set_entry_validation_error (GTK_ENTRY (page->join_name), error->message);

Error: COMPILER_WARNING (CWE-477): [#def23]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘enterprise_add_user’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:587:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active_iter’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:89:15: note: declared here
#  585|   
#  586|     /* Already know about this realm, try to login as user */
#  587|->   if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  588|       gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  589|                           &iter, 1, &page->realm, -1);

Error: COMPILER_WARNING (CWE-477): [#def24]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:588:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here
#  586|     /* Already know about this realm, try to login as user */
#  587|     if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  588|->     gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  589|                           &iter, 1, &page->realm, -1);
#  590|       enterprise_check_login (page);

Error: COMPILER_WARNING (CWE-477): [#def25]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:588:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  586|     /* Already know about this realm, try to login as user */
#  587|     if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) {
#  588|->     gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)),
#  589|                           &iter, 1, &page->realm, -1);
#  590|       enterprise_check_login (page);

Error: COMPILER_WARNING (CWE-477): [#def26]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘model_contains_realm’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:645:3: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here
#  643|     gboolean ret;
#  644|   
#  645|->   ret = gtk_tree_model_get_iter_first (model, &iter);
#  646|     while (ret) {
#  647|       gtk_tree_model_get (model, &iter, 0, &name, -1);

Error: COMPILER_WARNING (CWE-477): [#def27]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:647:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  645|     ret = gtk_tree_model_get_iter_first (model, &iter);
#  646|     while (ret) {
#  647|->     gtk_tree_model_get (model, &iter, 0, &name, -1);
#  648|       match = (g_strcmp0 (name, realm_name) == 0);
#  649|       g_free (name);

Error: COMPILER_WARNING (CWE-477): [#def28]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:655:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here
#  653|         break;
#  654|       }
#  655|->     ret = gtk_tree_model_iter_next (model, &iter);
#  656|     }
#  657|   

Error: COMPILER_WARNING (CWE-477): [#def29]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘enterprise_add_realm’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:678:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  676|   
#  677|     if (!model_contains_realm (GTK_TREE_MODEL (page->realms_model), name)) {
#  678|->     gtk_list_store_append (GTK_LIST_STORE (page->realms_model), &iter);
#  679|       gtk_list_store_set (GTK_LIST_STORE (page->realms_model), &iter,
#  680|                           0, name,

Error: COMPILER_WARNING (CWE-477): [#def30]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:679:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#  677|     if (!model_contains_realm (GTK_TREE_MODEL (page->realms_model), name)) {
#  678|       gtk_list_store_append (GTK_LIST_STORE (page->realms_model), &iter);
#  679|->     gtk_list_store_set (GTK_LIST_STORE (page->realms_model), &iter,
#  680|                           0, name,
#  681|                           1, realm,

Error: COMPILER_WARNING (CWE-477): [#def31]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:685:7: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_set_active_iter’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:92:15: note: declared here
#  683|   
#  684|       if (!page->domain_chosen && um_realm_is_configured (realm))
#  685|->       gtk_combo_box_set_active_iter (GTK_COMBO_BOX (page->domain), &iter);
#  686|   
#  687|       g_debug ("added realm to drop down: %s %s", name,

Error: COMPILER_WARNING (CWE-477): [#def32]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘on_domain_changed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:770:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  768|     page->domain_chosen = TRUE;
#  769|     validation_changed (page);
#  770|->   clear_entry_validation_error (GTK_ENTRY (gtk_combo_box_get_child (widget)));
#  771|   }
#  772|   

Error: COMPILER_WARNING (CWE-477): [#def33]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘gis_account_page_enterprise_init’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:887:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  885|     gtk_widget_init_template (GTK_WIDGET (page));
#  886|   
#  887|->   page->domain_entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->domain));
#  888|   }
#  889|   

Error: COMPILER_WARNING (CWE-477): [#def34]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘update_avatar_text’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:102:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  102 |     GtkWidget *entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#      |     ^~~~~~~~~
/usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.h:25: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gis-page.h:25: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  100|   
#  101|     if (*name == '\0') {
#  102|->     GtkWidget *entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#  103|   
#  104|       name = gtk_editable_get_text (GTK_EDITABLE (entry));

Error: COMPILER_WARNING (CWE-477): [#def35]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘validate’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:124:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  124 |   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#      |   ^~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  122|     g_clear_handle_id (&page->timeout_id, g_source_remove);
#  123|   
#  124|->   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#  125|   
#  126|     name = gtk_editable_get_text (GTK_EDITABLE (page->fullname_entry));

Error: COMPILER_WARNING (CWE-477): [#def36]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:127:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead
#  127 |   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (page->username_combo));
#      |   ^~~~~~~~
/usr/include/gtk-4.0/gtk/gtk.h:95: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here
#   57 | char         *gtk_combo_box_text_get_active_text (GtkComboBoxText     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  125|   
#  126|     name = gtk_editable_get_text (GTK_EDITABLE (page->fullname_entry));
#  127|->   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (page->username_combo));
#  128|   #ifdef HAVE_PARENTAL_CONTROLS
#  129|     parental_controls_enabled = gtk_check_button_get_active (GTK_CHECK_BUTTON (page->enable_parental_controls_check_button));

Error: COMPILER_WARNING (CWE-477): [#def37]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘fullname_changed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:169:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  169 |   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#      |   ^~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  167|     name = gtk_editable_get_text (GTK_EDITABLE (w));
#  168|   
#  169|->   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#  170|     model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo));
#  171|   

Error: COMPILER_WARNING (CWE-477): [#def38]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:170:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead
#  170 |   model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo));
#      |   ^~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here
#  100 | GtkTreeModel *gtk_combo_box_get_model        (GtkComboBox     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  168|   
#  169|     entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo));
#  170|->   model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo));
#  171|   
#  172|     gtk_list_store_clear (GTK_LIST_STORE (model));

Error: COMPILER_WARNING (CWE-477): [#def39]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:172:3: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead
#  172 |   gtk_list_store_clear (GTK_LIST_STORE (model));
#      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here
#  128 | void          gtk_list_store_clear            (GtkListStore *list_store);
#      |               ^~~~~~~~~~~~~~~~~~~~
#  170|     model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo));
#  171|   
#  172|->   gtk_list_store_clear (GTK_LIST_STORE (model));
#  173|   
#  174|     if ((name == NULL || strlen (name) == 0) && !page->has_custom_username) {

Error: COMPILER_WARNING (CWE-477): [#def40]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:180:7: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_set_active’ is deprecated: Use 'GtkDropDown' instead
#  180 |       gtk_combo_box_set_active (GTK_COMBO_BOX (page->username_combo), 0);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:86:15: note: declared here
#   86 | void          gtk_combo_box_set_active       (GtkComboBox     *combo_box,
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~
#  178|       generate_username_choices (name, GTK_LIST_STORE (model));
#  179|       if (!page->has_custom_username)
#  180|->       gtk_combo_box_set_active (GTK_COMBO_BOX (page->username_combo), 0);
#  181|     }
#  182|   

Error: COMPILER_WARNING (CWE-477): [#def41]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘username_changed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:199:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  199 |   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (combo));
#      |   ^~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  197|     const gchar *username;
#  198|   
#  199|->   entry = gtk_combo_box_get_child (GTK_COMBO_BOX (combo));
#  200|     username = gtk_editable_get_text (GTK_EDITABLE (entry));
#  201|     if (*username == '\0')

Error: COMPILER_WARNING (CWE-477): [#def42]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:204:12: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active’ is deprecated: Use 'GtkDropDown' instead
#  204 |            gtk_combo_box_get_active (GTK_COMBO_BOX (page->username_combo)) > 0)
#      |            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:84:15: note: declared here
#   84 | int           gtk_combo_box_get_active       (GtkComboBox     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~
#  202|       page->has_custom_username = FALSE;
#  203|     else if (gtk_widget_has_focus (entry) ||
#  204|->            gtk_combo_box_get_active (GTK_COMBO_BOX (page->username_combo)) > 0)
#  205|       page->has_custom_username = TRUE;
#  206|   

Error: COMPILER_WARNING (CWE-477): [#def43]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘gis_account_page_local_constructed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:300:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  300 |   g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)),
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  298|     track_focus_out (page, page->username_combo);
#  299|   
#  300|->   g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)),
#  301|                               "activate", G_CALLBACK (confirm), page);
#  302|     g_signal_connect_swapped (page->fullname_entry, "activate",

Error: COMPILER_WARNING (CWE-477): [#def44]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:320:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead
#  320 |   gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo))));
#      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here
#  100 | GtkTreeModel *gtk_combo_box_get_model        (GtkComboBox     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  318|     g_object_set (page->header, "subtitle", _("We need a few details to complete setup."), NULL);
#  319|     gtk_editable_set_text (GTK_EDITABLE (page->fullname_entry), "");
#  320|->   gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo))));
#  321|     page->has_custom_username = FALSE;
#  322|   

Error: COMPILER_WARNING (CWE-477): [#def45]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:320:3: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead
#  320 |   gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo))));
#      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here
#  128 | void          gtk_list_store_clear            (GtkListStore *list_store);
#      |               ^~~~~~~~~~~~~~~~~~~~
#  318|     g_object_set (page->header, "subtitle", _("We need a few details to complete setup."), NULL);
#  319|     gtk_editable_set_text (GTK_EDITABLE (page->fullname_entry), "");
#  320|->   gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo))));
#  321|     page->has_custom_username = FALSE;
#  322|   

Error: COMPILER_WARNING (CWE-477): [#def46]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘local_create_user’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:463:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead
#  463 |   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo));
#      |   ^~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here
#   57 | char         *gtk_combo_box_text_get_active_text (GtkComboBoxText     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  461|     g_autoptr(ActUser) parent_user = NULL;
#  462|   
#  463|->   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo));
#  464|     fullname = gtk_editable_get_text (GTK_EDITABLE (local->fullname_entry));
#  465|     parental_controls_enabled = gis_driver_get_parental_controls_enabled (page->driver);

Error: COMPILER_WARNING (CWE-477): [#def47]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘gis_account_page_local_apply’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:606:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead
#  606 |   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo));
#      |   ^~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here
#   57 | char         *gtk_combo_box_text_get_active_text (GtkComboBoxText     *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  604|     g_object_freeze_notify (G_OBJECT (driver));
#  605|   
#  606|->   username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo));
#  607|     gis_driver_set_username (driver, username);
#  608|   

Error: CPPCHECK_WARNING (CWE-758): [#def48]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page.c:137: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  135|     default:
#  136|       g_assert_not_reached ();
#  137|->     break;
#  138|     }
#  139|   }

Error: CPPCHECK_WARNING: [#def49]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-photo-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def50]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_provider_new’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:162:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  162 |         NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async);
#      |         ^~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/redhat-linux-build/gnome-initial-setup/pages/account/um-realm-generated.h:12: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.h:24: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  160|   {
#  161|           GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data);
#  162|->         NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async);
#  163|           GError *error = NULL;
#  164|           UmRealmProvider *provider;

Error: COMPILER_WARNING (CWE-477): [#def51]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:173:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  173 |                 g_simple_async_result_take_error (async, error);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  171|                   g_debug ("Created realm manager");
#  172|           } else {
#  173|->                 g_simple_async_result_take_error (async, error);
#  174|           }
#  175|           g_simple_async_result_complete (async);

Error: COMPILER_WARNING (CWE-477): [#def52]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:175:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  175 |         g_simple_async_result_complete (async);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  101 | void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  173|                   g_simple_async_result_take_error (async, error);
#  174|           }
#  175|->         g_simple_async_result_complete (async);
#  176|   
#  177|           g_object_unref (async);

Error: COMPILER_WARNING (CWE-477): [#def53]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_manager_new’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:186:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  186 |         NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async);
#      |         ^~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  184|   {
#  185|           GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data);
#  186|->         NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async);
#  187|           GDBusConnection *connection;
#  188|           GError *error = NULL;

Error: COMPILER_WARNING (CWE-477): [#def54]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:205:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  205 |                 g_simple_async_result_take_error (async, error);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  203|                                                on_provider_new, g_object_ref (async));
#  204|           } else {
#  205|->                 g_simple_async_result_take_error (async, error);
#  206|                   g_simple_async_result_complete (async);
#  207|           }

Error: COMPILER_WARNING (CWE-477): [#def55]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:206:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  206 |                 g_simple_async_result_complete (async);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  101 | void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  204|           } else {
#  205|                   g_simple_async_result_take_error (async, error);
#  206|->                 g_simple_async_result_complete (async);
#  207|           }
#  208|   

Error: COMPILER_WARNING (CWE-477): [#def56]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_new’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:222:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  222 |         async = g_simple_async_result_new (NULL, callback, user_data,
#      |         ^~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  220|           g_debug ("Connecting to realmd...");
#  221|   
#  222|->         async = g_simple_async_result_new (NULL, callback, user_data,
#  223|                                              um_realm_manager_new);
#  224|           closure = g_slice_new (NewClosure);

Error: COMPILER_WARNING (CWE-477): [#def57]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:226:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  226 |         g_simple_async_result_set_op_res_gpointer (async, closure, new_closure_free);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  224|           closure = g_slice_new (NewClosure);
#  225|           closure->cancellable = cancellable ? g_object_ref (cancellable) : NULL;
#  226|->         g_simple_async_result_set_op_res_gpointer (async, closure, new_closure_free);
#  227|   
#  228|           g_async_initable_new_async (UM_TYPE_REALM_MANAGER, G_PRIORITY_DEFAULT,

Error: COMPILER_WARNING (CWE-477): [#def58]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_new_finish’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:247:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_is_valid’ is deprecated
#  247 |         g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL,
#      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:132:21: note: declared here
#  132 | gboolean            g_simple_async_result_is_valid         (GAsyncResult            *result,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  245|           NewClosure *closure;
#  246|   
#  247|->         g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL,
#  248|                                                                 um_realm_manager_new), NULL);
#  249|   

Error: COMPILER_WARNING (CWE-477): [#def59]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:251:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  251 |         if (g_simple_async_result_propagate_error (async, error))
#      |         ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  116 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  249|   
#  250|           async = G_SIMPLE_ASYNC_RESULT (result);
#  251|->         if (g_simple_async_result_propagate_error (async, error))
#  252|                   return NULL;
#  253|   

Error: COMPILER_WARNING (CWE-477): [#def60]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:254:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  254 |         closure = g_simple_async_result_get_op_res_gpointer (async);
#      |         ^~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  252|                   return NULL;
#  253|   
#  254|->         closure = g_simple_async_result_get_op_res_gpointer (async);
#  255|           return g_object_ref (closure->manager);
#  256|   }

Error: COMPILER_WARNING (CWE-477): [#def61]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_provider_discover’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:280:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  280 |         DiscoverClosure *discover = g_simple_async_result_get_op_res_gpointer (async);
#      |         ^~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  278|   {
#  279|           GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data);
#  280|->         DiscoverClosure *discover = g_simple_async_result_get_op_res_gpointer (async);
#  281|           GDBusObject *object;
#  282|           GError *error = NULL;

Error: COMPILER_WARNING (CWE-477): [#def62]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:309:25: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
#  309 |                         g_simple_async_result_set_error (async, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
#  119 | void                g_simple_async_result_set_error        (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  307|   
#  308|                   if (!discover->realms && no_membership) {
#  309|->                         g_simple_async_result_set_error (async, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC,
#  310|                                                            _("Cannot automatically join this type of domain"));
#  311|                   }

Error: COMPILER_WARNING (CWE-477): [#def63]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:313:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
#  313 |                 g_simple_async_result_take_error (async, error);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
#  113 | void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  311|                   }
#  312|           } else {
#  313|->                 g_simple_async_result_take_error (async, error);
#  314|           }
#  315|   

Error: COMPILER_WARNING (CWE-477): [#def64]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:316:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
#  316 |         g_simple_async_result_complete (async);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
#  101 | void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  314|           }
#  315|   
#  316|->         g_simple_async_result_complete (async);
#  317|           g_object_unref (async);
#  318|   }

Error: COMPILER_WARNING (CWE-477): [#def65]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_discover’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:337:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  337 |         res = g_simple_async_result_new (G_OBJECT (self), callback, user_data,
#      |         ^~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  335|           g_debug ("Discovering realms for: %s", input);
#  336|   
#  337|->         res = g_simple_async_result_new (G_OBJECT (self), callback, user_data,
#  338|                                            um_realm_manager_discover);
#  339|           discover = g_slice_new0 (DiscoverClosure);

Error: COMPILER_WARNING (CWE-477): [#def66]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:342:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  342 |         g_simple_async_result_set_op_res_gpointer (res, discover, discover_closure_free);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  340|           discover->manager = g_object_ref (self);
#  341|           discover->cancellable = cancellable ? g_object_ref (cancellable) : NULL;
#  342|->         g_simple_async_result_set_op_res_gpointer (res, discover, discover_closure_free);
#  343|   
#  344|   	options = g_variant_new_array (G_VARIANT_TYPE ("{sv}"), NULL, 0);

Error: COMPILER_WARNING (CWE-477): [#def67]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_discover_finish’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:362:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_is_valid’ is deprecated
#  362 |         g_return_val_if_fail (g_simple_async_result_is_valid (result, G_OBJECT (self),
#      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:132:21: note: declared here
#  132 | gboolean            g_simple_async_result_is_valid         (GAsyncResult            *result,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  360|   
#  361|           g_return_val_if_fail (UM_IS_REALM_MANAGER (self), NULL);
#  362|->         g_return_val_if_fail (g_simple_async_result_is_valid (result, G_OBJECT (self),
#  363|                                 um_realm_manager_discover), NULL);
#  364|           g_return_val_if_fail (error == NULL || *error == NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def68]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:367:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
#  367 |         if (g_simple_async_result_propagate_error (async, error))
#      |         ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
#  116 | gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  365|   
#  366|           async = G_SIMPLE_ASYNC_RESULT (result);
#  367|->         if (g_simple_async_result_propagate_error (async, error))
#  368|                   return NULL;
#  369|   

Error: COMPILER_WARNING (CWE-477): [#def69]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:370:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  370 |         discover = g_simple_async_result_get_op_res_gpointer (async);
#      |         ^~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  368|                   return NULL;
#  369|   
#  370|->         discover = g_simple_async_result_get_op_res_gpointer (async);
#  371|           if (!discover->realms) {
#  372|                   g_set_error (error, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC,

Error: COMPILER_WARNING (CWE-477): [#def70]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_realm_join_complete’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:488:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
#  488 |         g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
#   72 | void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  486|   	g_debug ("Completed Join() method call");
#  487|   
#  488|-> 	g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref);
#  489|   	g_simple_async_result_complete_in_idle (async);
#  490|   	g_object_unref (async);

Error: COMPILER_WARNING (CWE-477): [#def71]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:489:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
#  489 |         g_simple_async_result_complete_in_idle (async);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
#  103 | void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  487|   
#  488|   	g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref);
#  489|-> 	g_simple_async_result_complete_in_idle (async);
#  490|   	g_object_unref (async);
#  491|   }

Error: COMPILER_WARNING (CWE-477): [#def72]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘realm_join_as_owner’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:521:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
#  521 |         async = g_simple_async_result_new (G_OBJECT (realm), callback, user_data,
#      |         ^~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
#   48 | GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  519|           }
#  520|   
#  521|->         async = g_simple_async_result_new (G_OBJECT (realm), callback, user_data,
#  522|                                              realm_join_as_owner);
#  523|   

Error: COMPILER_WARNING (CWE-477): [#def73]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_join_finish’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-realm-manager.c:611:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
#  611 |         async = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
#      |         ^~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
#   76 | gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  609|           g_return_val_if_fail (membership != NULL, FALSE);
#  610|   
#  611|->         async = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
#  612|           um_realm_kerberos_membership_call_join_finish (membership, async, &call_error);
#  613|           g_object_unref (membership);

Error: CPPCHECK_WARNING: [#def74]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def75]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c: scope_hint: In function ‘generate_username_choices’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:193:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead
#  193 |         gtk_list_store_clear (store);
#      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.h:26: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:34: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here
#  128 | void          gtk_list_store_clear            (GtkListStore *list_store);
#      |               ^~~~~~~~~~~~~~~~~~~~
#  191|           GtkTreeIter iter;
#  192|   
#  193|->         gtk_list_store_clear (store);
#  194|   
#  195|           ascii_name = g_convert_with_fallback (name, -1, "ASCII//TRANSLIT", "UTF-8",

Error: COMPILER_WARNING (CWE-477): [#def76]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:321:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  321 |                 gtk_list_store_append (store, &iter);
#      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  319|           in_use = is_username_used (item0->str);
#  320|           if (!in_use && !g_ascii_isdigit (item0->str[0])) {
#  321|->                 gtk_list_store_append (store, &iter);
#  322|                   gtk_list_store_set (store, &iter, 0, item0->str, -1);
#  323|                   g_hash_table_insert (items, item0->str, item0->str);

Error: COMPILER_WARNING (CWE-477): [#def77]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:322:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  322 |                 gtk_list_store_set (store, &iter, 0, item0->str, -1);
#      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  320|           if (!in_use && !g_ascii_isdigit (item0->str[0])) {
#  321|                   gtk_list_store_append (store, &iter);
#  322|->                 gtk_list_store_set (store, &iter, 0, item0->str, -1);
#  323|                   g_hash_table_insert (items, item0->str, item0->str);
#  324|           }

Error: COMPILER_WARNING (CWE-477): [#def78]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:329:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  329 |                 gtk_list_store_append (store, &iter);
#      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  327|           same_as_initial = (g_strcmp0 (item0->str, item1->str) == 0);
#  328|           if (!same_as_initial && nwords2 > 0 && !in_use && !g_ascii_isdigit (item1->str[0])) {
#  329|->                 gtk_list_store_append (store, &iter);
#  330|                   gtk_list_store_set (store, &iter, 0, item1->str, -1);
#  331|                   g_hash_table_insert (items, item1->str, item1->str);

Error: COMPILER_WARNING (CWE-477): [#def79]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:330:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  330 |                 gtk_list_store_set (store, &iter, 0, item1->str, -1);
#      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  328|           if (!same_as_initial && nwords2 > 0 && !in_use && !g_ascii_isdigit (item1->str[0])) {
#  329|                   gtk_list_store_append (store, &iter);
#  330|->                 gtk_list_store_set (store, &iter, 0, item1->str, -1);
#  331|                   g_hash_table_insert (items, item1->str, item1->str);
#  332|           }

Error: COMPILER_WARNING (CWE-477): [#def80]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:340:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  340 |                         gtk_list_store_append (store, &iter);
#      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  338|                   if (!in_use && !g_ascii_isdigit (item2->str[0]) &&
#  339|                       !g_hash_table_lookup (items, item2->str)) {
#  340|->                         gtk_list_store_append (store, &iter);
#  341|                           gtk_list_store_set (store, &iter, 0, item2->str, -1);
#  342|                           g_hash_table_insert (items, item2->str, item2->str);

Error: COMPILER_WARNING (CWE-477): [#def81]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:341:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  341 |                         gtk_list_store_set (store, &iter, 0, item2->str, -1);
#      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  339|                       !g_hash_table_lookup (items, item2->str)) {
#  340|                           gtk_list_store_append (store, &iter);
#  341|->                         gtk_list_store_set (store, &iter, 0, item2->str, -1);
#  342|                           g_hash_table_insert (items, item2->str, item2->str);
#  343|                   }

Error: COMPILER_WARNING (CWE-477): [#def82]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:348:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  348 |                         gtk_list_store_append (store, &iter);
#      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  346|                   if (!in_use && !g_ascii_isdigit (item3->str[0]) &&
#  347|                       !g_hash_table_lookup (items, item3->str)) {
#  348|->                         gtk_list_store_append (store, &iter);
#  349|                           gtk_list_store_set (store, &iter, 0, item3->str, -1);
#  350|                           g_hash_table_insert (items, item3->str, item3->str);

Error: COMPILER_WARNING (CWE-477): [#def83]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:349:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  349 |                         gtk_list_store_set (store, &iter, 0, item3->str, -1);
#      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  347|                       !g_hash_table_lookup (items, item3->str)) {
#  348|                           gtk_list_store_append (store, &iter);
#  349|->                         gtk_list_store_set (store, &iter, 0, item3->str, -1);
#  350|                           g_hash_table_insert (items, item3->str, item3->str);
#  351|                   }

Error: COMPILER_WARNING (CWE-477): [#def84]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:356:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  356 |                         gtk_list_store_append (store, &iter);
#      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  354|                   if (!in_use && !g_ascii_isdigit (item4->str[0]) &&
#  355|                       !g_hash_table_lookup (items, item4->str)) {
#  356|->                         gtk_list_store_append (store, &iter);
#  357|                           gtk_list_store_set (store, &iter, 0, item4->str, -1);
#  358|                           g_hash_table_insert (items, item4->str, item4->str);

Error: COMPILER_WARNING (CWE-477): [#def85]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:357:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  357 |                         gtk_list_store_set (store, &iter, 0, item4->str, -1);
#      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  355|                       !g_hash_table_lookup (items, item4->str)) {
#  356|                           gtk_list_store_append (store, &iter);
#  357|->                         gtk_list_store_set (store, &iter, 0, item4->str, -1);
#  358|                           g_hash_table_insert (items, item4->str, item4->str);
#  359|                   }

Error: COMPILER_WARNING (CWE-477): [#def86]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:365:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  365 |                         gtk_list_store_append (store, &iter);
#      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  363|                   if (!in_use && !g_ascii_isdigit (last_word->str[0]) &&
#  364|                       !g_hash_table_lookup (items, last_word->str)) {
#  365|->                         gtk_list_store_append (store, &iter);
#  366|                           gtk_list_store_set (store, &iter, 0, last_word->str, -1);
#  367|                           g_hash_table_insert (items, last_word->str, last_word->str);

Error: COMPILER_WARNING (CWE-477): [#def87]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:366:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  366 |                         gtk_list_store_set (store, &iter, 0, last_word->str, -1);
#      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  364|                       !g_hash_table_lookup (items, last_word->str)) {
#  365|                           gtk_list_store_append (store, &iter);
#  366|->                         gtk_list_store_set (store, &iter, 0, last_word->str, -1);
#  367|                           g_hash_table_insert (items, last_word->str, last_word->str);
#  368|                   }

Error: COMPILER_WARNING (CWE-477): [#def88]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:374:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead
#  374 |                         gtk_list_store_append (store, &iter);
#      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
#  125 | void          gtk_list_store_append           (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~~~~
#  372|                   if (!in_use && !g_ascii_isdigit (first_word->str[0]) &&
#  373|                       !g_hash_table_lookup (items, first_word->str)) {
#  374|->                         gtk_list_store_append (store, &iter);
#  375|                           gtk_list_store_set (store, &iter, 0, first_word->str, -1);
#  376|                           g_hash_table_insert (items, first_word->str, first_word->str);

Error: COMPILER_WARNING (CWE-477): [#def89]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/um-utils.c:375:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead
#  375 |                         gtk_list_store_set (store, &iter, 0, first_word->str, -1);
#      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
#   81 | void          gtk_list_store_set              (GtkListStore *list_store,
#      |               ^~~~~~~~~~~~~~~~~~
#  373|                       !g_hash_table_lookup (items, first_word->str)) {
#  374|                           gtk_list_store_append (store, &iter);
#  375|->                         gtk_list_store_set (store, &iter, 0, first_word->str, -1);
#  376|                           g_hash_table_insert (items, first_word->str, first_word->str);
#  377|                   }

Error: CPPCHECK_WARNING: [#def90]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/keyboard/cc-input-chooser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def91]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/language/cc-language-chooser.c:129:24: warning[unix.Malloc]: Potential leak of memory pointed to by 'widget'
#  127|   
#  128|           if (!gnome_parse_locale (locale_id, &language, &country, NULL, NULL))
#  129|->                 return NULL;
#  130|   
#  131|           language_name = gnome_get_language_from_code (language, locale_id);

Error: CLANG_WARNING: [#def92]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/language/cc-language-chooser.c:328:9: warning[deadcode.DeadStores]: Value stored to 'visible' is never read
#  326|                   return TRUE;
#  327|   
#  328|->         visible = FALSE;
#  329|   
#  330|           visible = g_str_match_string (search_term, widget->locale_name, TRUE);

Error: CLANG_WARNING: [#def93]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/language/gis-language-page.c:67:3: warning[deadcode.DeadStores]: Value stored to 'call_result' is never read
#   65|     g_autoptr(GVariant) call_result = NULL;
#   66|   
#   67|->   call_result = g_dbus_proxy_call_finish (proxy, result, &error);
#   68|   
#   69|     if (error != NULL) {

Error: CPPCHECK_WARNING: [#def94]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/network/gis-network-page.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-457): [#def95]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/cc-timezone-map.c: scope_hint: In function ‘cc_timezone_map_measure’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/cc-timezone-map.c:129:14: warning[-Wmaybe-uninitialized]: ‘size’ may be used uninitialized
#  129 |     *minimum = size;
#      |     ~~~~~~~~~^~~~~~
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/cc-timezone-map.c:115:8: note: ‘size’ was declared here
#  115 |   gint size;
#      |        ^~~~
#  127|   
#  128|     if (minimum != NULL)
#  129|->     *minimum = size;
#  130|     if (natural != NULL)
#  131|       *natural = size;

Error: CLANG_WARNING: [#def96]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/cc-timezone-map.c:390:3: warning[deadcode.DeadStores]: Value stored to 'info' is never read
#  388|     map->location = location;
#  389|   
#  390|->   info = tz_info_from_location (map->location);
#  391|   
#  392|     gtk_widget_queue_draw (GTK_WIDGET (map));

Error: CPPCHECK_WARNING: [#def97]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def98]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_init’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:121:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_new’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here.
/usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.h:9: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:9: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:66:21: note: declared here
#  119|       gtk_editable_init_delegate (GTK_EDITABLE (entry));
#  120|   
#  121|->     completion = gtk_entry_completion_new ();
#  122|   
#  123|       gtk_entry_completion_set_popup_set_width (completion, TRUE);

Error: COMPILER_WARNING (CWE-477): [#def99]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:123:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_popup_set_width’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:113:21: note: declared here
#  121|       completion = gtk_entry_completion_new ();
#  122|   
#  123|->     gtk_entry_completion_set_popup_set_width (completion, TRUE);
#  124|       gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME);
#  125|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def100]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:124:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_text_column’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:127:21: note: declared here
#  122|   
#  123|       gtk_entry_completion_set_popup_set_width (completion, TRUE);
#  124|->     gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME);
#  125|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  126|       gtk_entry_completion_set_inline_completion (completion, TRUE);

Error: COMPILER_WARNING (CWE-477): [#def101]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:125:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here
#  123|       gtk_entry_completion_set_popup_set_width (completion, TRUE);
#  124|       gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME);
#  125|->     gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  126|       gtk_entry_completion_set_inline_completion (completion, TRUE);
#  127|   

Error: COMPILER_WARNING (CWE-477): [#def102]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:126:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_inline_completion’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:98:21: note: declared here
#  124|       gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME);
#  125|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  126|->     gtk_entry_completion_set_inline_completion (completion, TRUE);
#  127|   
#  128|       g_signal_connect (completion, "match-selected",

Error: COMPILER_WARNING (CWE-477): [#def103]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:134:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_set_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:160:21: note: declared here
#  132|                         G_CALLBACK (_no_matches), entry);
#  133|   
#  134|->     gtk_entry_set_completion (GTK_ENTRY (entry->priv->entry), completion);
#  135|       g_object_unref (completion);
#  136|   

Error: COMPILER_WARNING (CWE-477): [#def104]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘tree_compare_local_name’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:186:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkcellarea.h:30: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:64: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  184|       g_autofree gchar *name_a = NULL, *name_b = NULL;
#  185|   
#  186|->     gtk_tree_model_get (model, a,
#  187|                           LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_a,
#  188|                           -1);

Error: COMPILER_WARNING (CWE-477): [#def105]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:189:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  187|                           LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_a,
#  188|                           -1);
#  189|->     gtk_tree_model_get (model, b,
#  190|                           LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_b,
#  191|                           -1);

Error: COMPILER_WARNING (CWE-477): [#def106]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘constructed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:209:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_new’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:63:15: note: declared here
#  207|           entry->priv->top = gweather_location_get_world ();
#  208|   
#  209|->     store = gtk_list_store_new (5, G_TYPE_STRING, GWEATHER_TYPE_LOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
#  210|       gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store),
#  211|                                                tree_compare_local_name, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def107]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:210:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_sortable_set_default_sort_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtktreeviewcolumn.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/deprecated/gtktreesortable.h:152:10: note: declared here
#  208|   
#  209|       store = gtk_list_store_new (5, G_TYPE_STRING, GWEATHER_TYPE_LOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
#  210|->     gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store),
#  211|                                                tree_compare_local_name, NULL, NULL);
#  212|       fill_location_entry_model (store, entry->priv->top, NULL, NULL, NULL, NULL, entry->priv->show_named_timezones);

Error: COMPILER_WARNING (CWE-477): [#def108]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:215:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here
#  213|   
#  214|       entry->priv->model = GTK_TREE_MODEL (store);
#  215|->     completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  216|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  217|       gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));

Error: COMPILER_WARNING (CWE-477): [#def109]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:216:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here
#  214|       entry->priv->model = GTK_TREE_MODEL (store);
#  215|       completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  216|->     gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  217|       gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));
#  218|   

Error: COMPILER_WARNING (CWE-477): [#def110]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:217:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here
#  215|       completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  216|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  217|->     gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));
#  218|   
#  219|       G_OBJECT_CLASS (gis_location_entry_parent_class)->constructed (object);

Error: COMPILER_WARNING (CWE-477): [#def111]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘entry_changed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:316:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here
#  314|       const gchar *text;
#  315|   
#  316|->     completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  317|   
#  318|       if (entry->priv->cancellable) {

Error: COMPILER_WARNING (CWE-477): [#def112]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:324:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here
#  322|       }
#  323|   
#  324|->     gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  325|       gtk_entry_completion_set_model (completion, entry->priv->model);
#  326|   

Error: COMPILER_WARNING (CWE-477): [#def113]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:325:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here
#  323|   
#  324|       gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  325|->     gtk_entry_completion_set_model (completion, entry->priv->model);
#  326|   
#  327|       text = gtk_editable_get_text (GTK_EDITABLE (entry));

Error: COMPILER_WARNING (CWE-477): [#def114]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘set_location_internal’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:361:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  359|   
#  360|       if (iter) {
#  361|->         gtk_tree_model_get (model, iter,
#  362|                               LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, &name,
#  363|                               LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &priv->location,

Error: COMPILER_WARNING (CWE-477): [#def115]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_set_location’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:403:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here
#  401|       g_return_if_fail (GIS_IS_LOCATION_ENTRY (entry));
#  402|   
#  403|->     completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  404|       model = gtk_entry_completion_get_model (completion);
#  405|   

Error: COMPILER_WARNING (CWE-477): [#def116]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:404:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here
#  402|   
#  403|       completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  404|->     model = gtk_entry_completion_get_model (completion);
#  405|   
#  406|       if (loc == NULL) {

Error: COMPILER_WARNING (CWE-477): [#def117]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:411:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here
#  409|       }
#  410|   
#  411|->     gtk_tree_model_get_iter_first (model, &iter);
#  412|       do {
#  413|           gtk_tree_model_get (model, &iter,

Error: COMPILER_WARNING (CWE-477): [#def118]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:413:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  411|       gtk_tree_model_get_iter_first (model, &iter);
#  412|       do {
#  413|->         gtk_tree_model_get (model, &iter,
#  414|                               LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &cmploc,
#  415|                               -1);

Error: COMPILER_WARNING (CWE-477): [#def119]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:422:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here
#  420|   
#  421|           g_clear_object (&cmploc);
#  422|->     } while (gtk_tree_model_iter_next (model, &iter));
#  423|   
#  424|       set_location_internal (entry, model, NULL, loc);

Error: COMPILER_WARNING (CWE-477): [#def120]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_set_city’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:475:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here
#  473|       g_return_val_if_fail (code != NULL, FALSE);
#  474|   
#  475|->     completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  476|       model = gtk_entry_completion_get_model (completion);
#  477|   

Error: COMPILER_WARNING (CWE-477): [#def121]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:476:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here
#  474|   
#  475|       completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry));
#  476|->     model = gtk_entry_completion_get_model (completion);
#  477|   
#  478|       gtk_tree_model_get_iter_first (model, &iter);

Error: COMPILER_WARNING (CWE-477): [#def122]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:478:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here
#  476|       model = gtk_entry_completion_get_model (completion);
#  477|   
#  478|->     gtk_tree_model_get_iter_first (model, &iter);
#  479|       do {
#  480|         g_autoptr(GWeatherLocation) cmploc = NULL;

Error: COMPILER_WARNING (CWE-477): [#def123]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:481:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  479|       do {
#  480|         g_autoptr(GWeatherLocation) cmploc = NULL;
#  481|->         gtk_tree_model_get (model, &iter,
#  482|                               LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &cmploc,
#  483|                               -1);

Error: COMPILER_WARNING (CWE-477): [#def124]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:499:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here
#  497|           set_location_internal (entry, model, &iter, NULL);
#  498|           return TRUE;
#  499|->     } while (gtk_tree_model_iter_next (model, &iter));
#  500|   
#  501|       set_location_internal (entry, model, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def125]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘fill_location_entry_model’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:586:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here
#  584|                                                   gweather_location_get_english_sort_name (loc), parent_compare_english_name);
#  585|   
#  586|->         gtk_list_store_insert_with_values (store, NULL, -1,
#  587|                                              LOC_GIS_LOCATION_ENTRY_COL_LOCATION, loc,
#  588|                                              LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, display_name,

Error: COMPILER_WARNING (CWE-477): [#def126]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:601:13: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here
#  599|       case GWEATHER_LOCATION_NAMED_TIMEZONE:
#  600|           if (show_named_timezones) {
#  601|->             gtk_list_store_insert_with_values (store, NULL, -1,
#  602|                                                  LOC_GIS_LOCATION_ENTRY_COL_LOCATION, loc,
#  603|                                                  LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, gweather_location_get_name (loc),

Error: COMPILER_WARNING (CWE-477): [#def127]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:706:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here
#  704|       gboolean match;
#  705|   
#  706|->     gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter,
#  707|                           LOC_GIS_LOCATION_ENTRY_COL_LOCAL_COMPARE_NAME, &local_compare_name,
#  708|                           LOC_GIS_LOCATION_ENTRY_COL_ENGLISH_COMPARE_NAME, &english_compare_name,

Error: COMPILER_WARNING (CWE-477): [#def128]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘matcher’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:706:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  704|       gboolean match;
#  705|   
#  706|->     gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter,
#  707|                           LOC_GIS_LOCATION_ENTRY_COL_LOCAL_COMPARE_NAME, &local_compare_name,
#  708|                           LOC_GIS_LOCATION_ENTRY_COL_ENGLISH_COMPARE_NAME, &english_compare_name,

Error: COMPILER_WARNING (CWE-477): [#def129]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘match_selected’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:738:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead
/usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here
#  736|           const char* country_code;
#  737|   
#  738|->         gtk_tree_model_get (model, iter,
#  739|                               PLACE_GIS_LOCATION_ENTRY_COL_PLACE, &place,
#  740|                               PLACE_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, &display_name,

Error: CLANG_WARNING: [#def130]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:747:13: warning[deadcode.DeadStores]: Value stored to 'scope' is never read
#  745|               scope = gweather_location_find_by_country_code (priv->top, country_code);
#  746|           if (!scope)
#  747|->             scope = priv->top;
#  748|   
#  749|           loc = geocode_place_get_location (place);

Error: COMPILER_WARNING (CWE-477): [#def131]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘fill_store’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:788:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here
#  786|       g_debug ("Adding geocode match %s", display_name);
#  787|   
#  788|->     gtk_list_store_insert_with_values (user_data, NULL, -1,
#  789|                                          PLACE_GIS_LOCATION_ENTRY_COL_PLACE, place,
#  790|                                          PLACE_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, display_name,

Error: COMPILER_WARNING (CWE-477): [#def132]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘_got_places’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:818:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated
/usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here
#  816|   
#  817|       self = GIS_LOCATION_ENTRY (user_data);
#  818|->     completion = gtk_entry_get_completion (GTK_ENTRY (self->priv->entry));
#  819|   
#  820|       if (places == NULL) {

Error: COMPILER_WARNING (CWE-477): [#def133]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:822:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here
#  820|       if (places == NULL) {
#  821|           g_debug ("No geocode results, restoring default model");
#  822|->         gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  823|           gtk_entry_completion_set_model (completion, self->priv->model);
#  824|       } else {

Error: COMPILER_WARNING (CWE-477): [#def134]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:823:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here
#  821|           g_debug ("No geocode results, restoring default model");
#  822|           gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL);
#  823|->         gtk_entry_completion_set_model (completion, self->priv->model);
#  824|       } else {
#  825|           store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);

Error: COMPILER_WARNING (CWE-477): [#def135]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:825:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_new’ is deprecated: Use 'GListStore' instead
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:63:15: note: declared here
#  823|           gtk_entry_completion_set_model (completion, self->priv->model);
#  824|       } else {
#  825|->         store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
#  826|           gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store),
#  827|                                                    tree_compare_local_name, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def136]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:826:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_sortable_set_default_sort_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtktreesortable.h:152:10: note: declared here
#  824|       } else {
#  825|           store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
#  826|->         gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store),
#  827|                                                    tree_compare_local_name, NULL, NULL);
#  828|           g_list_foreach (places, fill_store, store);

Error: COMPILER_WARNING (CWE-477): [#def137]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:829:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here
#  827|                                                    tree_compare_local_name, NULL, NULL);
#  828|           g_list_foreach (places, fill_store, store);
#  829|->         gtk_entry_completion_set_match_func (completion, new_matcher, NULL, NULL);
#  830|           gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));
#  831|       }

Error: COMPILER_WARNING (CWE-477): [#def138]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-location-entry.c:830:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here
#  828|           g_list_foreach (places, fill_store, store);
#  829|           gtk_entry_completion_set_match_func (completion, new_matcher, NULL, NULL);
#  830|->         gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));
#  831|       }
#  832|   

Error: CLANG_WARNING: [#def139]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/gis-timezone-page.c:286:27: warning[core.NullDereference]: Access to field 'zone' results in a dereference of a null pointer (loaded from variable 'location')
#  284|       use_ampm = FALSE;
#  285|   
#  286|->   zone = g_time_zone_new (location->zone);
#  287|     date = g_date_time_new_now (zone);
#  288|     g_time_zone_unref (zone);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c: scope_hint: In function ‘tz_load_db’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:61:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’
#   59|   		return NULL;
#   60|   	}
#   61|-> 	tzfile = fopen (tz_data_file, "r");
#   62|   	if (!tzfile) {
#   63|   		g_warning ("Could not open *%s*\n", tz_data_file);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:61:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’
#   59|   		return NULL;
#   60|   	}
#   61|-> 	tzfile = fopen (tz_data_file, "r");
#   62|   	if (!tzfile) {
#   63|   		g_warning ("Could not open *%s*\n", tz_data_file);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:68:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   66|   
#   67|   	tz_db = g_new0 (TzDB, 1);
#   68|-> 	tz_db->locations = g_ptr_array_new ();
#   69|   
#   70|   	while (fgets (buf, sizeof(buf), tzfile))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:68:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   66|   
#   67|   	tz_db = g_new0 (TzDB, 1);
#   68|-> 	tz_db->locations = g_ptr_array_new ();
#   69|   
#   70|   	while (fgets (buf, sizeof(buf), tzfile))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:70:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   68|   	tz_db->locations = g_ptr_array_new ();
#   69|   
#   70|-> 	while (fgets (buf, sizeof(buf), tzfile))
#   71|   	{
#   72|   		g_auto(GStrv) tmpstrarr = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:70:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   68|   	tz_db->locations = g_ptr_array_new ();
#   69|   
#   70|-> 	while (fgets (buf, sizeof(buf), tzfile))
#   71|   	{
#   72|   		g_auto(GStrv) tmpstrarr = NULL;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:78:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   76|   		TzLocation *loc;
#   77|   
#   78|-> 		if (*buf == '#') continue;
#   79|   
#   80|   		g_strchomp(buf);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:78:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’
#   76|   		TzLocation *loc;
#   77|   
#   78|-> 		if (*buf == '#') continue;
#   79|   
#   80|   		g_strchomp(buf);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c: scope_hint: In function ‘tz_location_get_base_utc_offset’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:215:25: 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.
/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’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:235:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:235:9: note: in expansion of macro ‘g_return_val_if_fail’
#  213|   
#  214|   	tz_info = tz_info_from_location (loc);
#  215|-> 	offset = tz_info->utc_offset + (tz_info->daylight ? -3600 : 0);
#  216|   
#  217|   	for (i = 0; i < G_N_ELEMENTS (base_offset_overrides); i++) {

Error: CLANG_WARNING: [#def149]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/timezone/tz.c:485:11: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#  483|   
#  484|         /* We don't need more than one name for it */
#  485|->       if (g_str_equal (real, "Etc/UTC") ||
#  486|             g_str_equal (real, "Etc/UCT"))
#  487|           real = "Etc/GMT";

Error: CPPCHECK_WARNING: [#def150]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/redhat-linux-build/gnome-initial-setup/pages/account/um-realm-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def151]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/redhat-linux-build/gnome-initial-setup/pages/timezone/timedated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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-63.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegnome-initial-setup-46.2-1.fc41
store-results-to/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.tar.xz
time-created2024-07-03 12:53:25
time-finished2024-07-03 12:55:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9