nautilus-46.2-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
nautilus-46.2-build/nautilus-46.2/eel/eel-stock-dialogs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
nautilus-46.2-build/nautilus-46.2/extensions/image-properties/nautilus-image-properties-model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/src/nautilus-freedesktop-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/src/nautilus-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/src/nautilus-generated2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/src/nautilus-shell-search-provider-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/tmp-introspectowio_x63/Nautilus-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def8]
nautilus-46.2-build/nautilus-46.2/redhat-linux-build/tmp-introspectowio_x63/Nautilus-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def9]
nautilus-46.2-build/nautilus-46.2/src/gtk/nautilusgtkbookmarksmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
nautilus-46.2-build/nautilus-46.2/src/gtk/nautilusgtkplacessidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
nautilus-46.2-build/nautilus-46.2/src/gtk/nautilusgtkplacesview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
nautilus-46.2-build/nautilus-46.2/src/gtk/nautilusgtkplacesviewrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
nautilus-46.2-build/nautilus-46.2/src/nautilus-application.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
nautilus-46.2-build/nautilus-46.2/src/nautilus-batch-rename-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def15]
nautilus-46.2-build/nautilus-46.2/src/nautilus-batch-rename-dialog.c:1026:17: warning[deadcode.DeadStores]: Value stored to 'have_conflict' is never read
# 1024|                                                        conflict_data);
# 1025|   
# 1026|->                 have_conflict = TRUE;
# 1027|               }
# 1028|           }

Error: CPPCHECK_WARNING: [#def16]
nautilus-46.2-build/nautilus-46.2/src/nautilus-batch-rename-utilities.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def17]
nautilus-46.2-build/nautilus-46.2/src/nautilus-batch-rename-utilities.c:726:21: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'l')
#  724|           {
#  725|               CreateDateElem *elem = l2->data;
#  726|->             l->data = elem->file;
#  727|           }
#  728|   

Error: CLANG_WARNING: [#def18]
nautilus-46.2-build/nautilus-46.2/src/nautilus-batch-rename-utilities.c:977:60: warning[core.NullDereference]: Array access (via field 'metadata') results in a null pointer dereference
#  975|                   else
#  976|                   {
#  977|->                     file_metadata->metadata[metadata_type] = g_string_new (current_metadata);
#  978|                   }
#  979|               }

Error: CPPCHECK_WARNING: [#def19]
nautilus-46.2-build/nautilus-46.2/src/nautilus-clipboard.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def20]
nautilus-46.2-build/nautilus-46.2/src/nautilus-directory-async.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def21]
nautilus-46.2-build/nautilus-46.2/src/nautilus-dnd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def22]
nautilus-46.2-build/nautilus-46.2/src/nautilus-error-reporting.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def23]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-changes-queue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def24]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-operations.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def25]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-dir-has-files.c:7: included_from: Included from here.
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-operations.c:5074:13: warning[deadcode.DeadStores]: Value stored to 'dest_uri' is never read
# 5072|           if (debuting_files)
# 5073|           {
# 5074|->             dest_uri = g_file_get_uri (dest);
# 5075|   
# 5076|               g_hash_table_replace (debuting_files, g_object_ref (dest), GINT_TO_POINTER (!overwrite));

Error: CLANG_WARNING: [#def26]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-operations.c:5864:9: warning[deadcode.DeadStores]: Value stored to 'dest_uri' is never read
# 5862|           nautilus_file_changes_queue_file_moved (src, dest);
# 5863|   
# 5864|->         dest_uri = g_file_get_uri (dest);
# 5865|   
# 5866|           if (job->undo_info != NULL)

Error: CLANG_WARNING: [#def27]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-operations.c:6465:9: warning[deadcode.DeadStores]: Value stored to 'dest_uri' is never read
# 6463|   
# 6464|           nautilus_file_changes_queue_file_added (dest);
# 6465|->         dest_uri = g_file_get_uri (dest);
# 6466|   
# 6467|           return;

Error: CPPCHECK_WARNING: [#def28]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-undo-operations.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def29]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file-utilities.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def30]
nautilus-46.2-build/nautilus-46.2/src/nautilus-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def31]
nautilus-46.2-build/nautilus-46.2/src/nautilus-filename-utilities.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def32]
nautilus-46.2-build/nautilus-46.2/src/nautilus-filename-validator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def33]
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c: scope_hint: In function ‘get_drop_filename’
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c:108:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_char’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/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.
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view.h:27: included_from: Included from here.
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.h:29: included_from: Included from here.
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c:103:30: note: in expansion of macro ‘_’
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c:103:20: note: in expansion of macro ‘g_strdup’
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view-dnd.c: scope_hint: In function ‘get_drop_filename’
#  106|       /* Remove any invalid characters */
#  107|       for (current_char = filename;
#  108|->          *current_char;
#  109|            current_char = g_utf8_next_char (current_char))
#  110|       {

Error: CPPCHECK_WARNING: [#def35]
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def36]
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view.c:2918:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 2916|                                           paste_value_received_callback, data);
# 2917|       }
# 2918|-> }
# 2919|   
# 2920|   static void

Error: CLANG_WARNING: [#def37]
nautilus-46.2-build/nautilus-46.2/src/nautilus-files-view.c:7921:5: warning[deadcode.DeadStores]: Value stored to 'current_uri' is never read
# 7919|   
# 7920|       current_location = nautilus_file_get_location (priv->directory_as_file);
# 7921|->     current_uri = g_file_get_uri (current_location);
# 7922|       can_star_current_directory = nautilus_tag_manager_can_star_contents (nautilus_tag_manager_get (), current_location);
# 7923|   

Error: CPPCHECK_WARNING: [#def38]
nautilus-46.2-build/nautilus-46.2/src/nautilus-grid-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
nautilus-46.2-build/nautilus-46.2/src/nautilus-list-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
nautilus-46.2-build/nautilus-46.2/src/nautilus-mime-actions.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def41]
nautilus-46.2-build/nautilus-46.2/src/nautilus-name-cell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def42]
nautilus-46.2-build/nautilus-46.2/src/nautilus-operations-ui-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def43]
nautilus-46.2-build/nautilus-46.2/src/nautilus-pathbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def44]
nautilus-46.2-build/nautilus-46.2/src/nautilus-previewer.c:64:5: warning[deadcode.DeadStores]: Value stored to 'variant' is never read
#   62|       g_autoptr (GError) error = NULL;
#   63|   
#   64|->     variant = g_dbus_proxy_call_finish (G_DBUS_PROXY (object), res, &error);
#   65|   
#   66|       if (error == NULL)

Error: CPPCHECK_WARNING: [#def45]
nautilus-46.2-build/nautilus-46.2/src/nautilus-program-choosing.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
nautilus-46.2-build/nautilus-46.2/src/nautilus-progress-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
nautilus-46.2-build/nautilus-46.2/src/nautilus-properties-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-682): [#def48]
nautilus-46.2-build/nautilus-46.2/src/nautilus-query.c:411: error[nullPointerArithmetic]: Overflow in pointer arithmetic, NULL pointer is subtracted.
#  409|        * smaller amount.
#  410|        */
#  411|->     retval = MAX (MIN_RANK, MAX_RANK - (gdouble) (ptr - prepared_string) - (gdouble) nonexact_malus / RANK_SCALE_FACTOR);
#  412|       g_free (prepared_string);
#  413|   

Error: CPPCHECK_WARNING: [#def49]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-directory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def50]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-engine-model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def51]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-engine-recent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def52]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-engine-recent.c:373:5: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  371|       self->running = TRUE;
#  372|       self->cancellable = g_cancellable_new ();
#  373|->     thread = g_thread_new ("nautilus-search-recent", recent_thread_func,
#  374|                              g_object_ref (self));
#  375|   

Error: CLANG_WARNING: [#def53]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-engine-simple.c:529:5: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  527|   
#  528|       simple->create_thread_timeout_id = 0;
#  529|->     thread = g_thread_new ("nautilus-search-simple", search_thread_func, simple->active_search);
#  530|   }
#  531|   

Error: CPPCHECK_WARNING: [#def54]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-engine-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def55]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-hit.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def56]
nautilus-46.2-build/nautilus-46.2/src/nautilus-search-popover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def57]
nautilus-46.2-build/nautilus-46.2/src/nautilus-shell-search-provider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def58]
nautilus-46.2-build/nautilus-46.2/src/nautilus-window-slot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def59]
nautilus-46.2-build/nautilus-46.2/src/nautilus-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def60]
nautilus-46.2-build/nautilus-46.2/src/nautilus-window.c:538: error[legacyUninitvar]: Uninitialized variable: position
#  536|       /* Re-enable all of the actions if the menu is closed */
#  537|       g_simple_action_set_enabled (G_SIMPLE_ACTION (move_tab_left_action),
#  538|->                                  menu_is_closed || position > 0);
#  539|       g_simple_action_set_enabled (G_SIMPLE_ACTION (move_tab_right_action),
#  540|                                    menu_is_closed || position < n_pages - 1);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def61]
nautilus-46.2-build/nautilus-46.2/src/nautilus-window.c: scope_hint: In function ‘tab_view_setup_menu_cb’
nautilus-46.2-build/nautilus-46.2/src/nautilus-window.c:538:61: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘position’
#  536|       /* Re-enable all of the actions if the menu is closed */
#  537|       g_simple_action_set_enabled (G_SIMPLE_ACTION (move_tab_left_action),
#  538|->                                  menu_is_closed || position > 0);
#  539|       g_simple_action_set_enabled (G_SIMPLE_ACTION (move_tab_right_action),
#  540|                                    menu_is_closed || position < n_pages - 1);

Error: CPPCHECK_WARNING (CWE-457): [#def62]
nautilus-46.2-build/nautilus-46.2/src/nautilus-window.c:540: error[legacyUninitvar]: Uninitialized variable: n_pages
#  538|                                    menu_is_closed || position > 0);
#  539|       g_simple_action_set_enabled (G_SIMPLE_ACTION (move_tab_right_action),
#  540|->                                  menu_is_closed || position < n_pages - 1);
#  541|       g_simple_action_set_enabled (G_SIMPLE_ACTION (restore_tab_action),
#  542|                                    menu_is_closed || g_queue_get_length (window->tab_data_queue) > 0);

Error: CPPCHECK_WARNING: [#def63]
nautilus-46.2-build/nautilus-46.2/src/nautilus-x-content-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def64]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:695:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  693|   
#  694|       file = g_file_get_child (first_dir, "copy_first_child");
#  695|->     file = g_file_get_child (file, "copy_second_child");
#  696|   
#  697|       file = g_file_get_child (first_dir, "copy_first_child");

Error: CLANG_WARNING: [#def65]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:697:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  695|       file = g_file_get_child (file, "copy_second_child");
#  696|   
#  697|->     file = g_file_get_child (first_dir, "copy_first_child");
#  698|   
#  699|       empty_directory_by_prefix (root, "copy");

Error: CLANG_WARNING: [#def66]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:741:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  739|   
#  740|       file = g_file_get_child (first_dir, "copy_first_child");
#  741|->     file = g_file_get_child (file, "copy_second_child");
#  742|   
#  743|       file = g_file_get_child (first_dir, "copy_first_child");

Error: CLANG_WARNING: [#def67]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:743:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  741|       file = g_file_get_child (file, "copy_second_child");
#  742|   
#  743|->     file = g_file_get_child (first_dir, "copy_first_child");
#  744|   
#  745|       empty_directory_by_prefix (root, "copy");

Error: CLANG_WARNING: [#def68]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:786:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  784|       file = g_file_get_child (file, "copy_dir1_child");
#  785|       g_assert_true (g_file_query_exists (file, NULL));
#  786|->     file = g_file_get_child (result_file, "copy_first_dir_dir1");
#  787|   
#  788|       file = g_file_get_child (result_file, "copy_first_dir_dir2");

Error: CLANG_WARNING: [#def69]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:792:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  790|       file = g_file_get_child (file, "copy_dir2_child");
#  791|       g_assert_true (g_file_query_exists (file, NULL));
#  792|->     file = g_file_get_child (result_file, "copy_first_dir_dir2");
#  793|   
#  794|       file = g_file_get_child (first_dir, "copy_first_dir_dir1");

Error: CLANG_WARNING: [#def70]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:798:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  796|       file = g_file_get_child (file, "copy_dir1_child");
#  797|       g_assert_true (g_file_query_exists (file, NULL));
#  798|->     file = g_file_get_child (first_dir, "copy_first_dir_dir1");
#  799|   
#  800|       file = g_file_get_child (first_dir, "copy_first_dir_dir2");

Error: CLANG_WARNING: [#def71]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:856:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
#  854|       file = g_file_get_child (file, "copy_dir1_child");
#  855|       g_assert_true (g_file_query_exists (file, NULL));
#  856|->     file = g_file_get_child (first_dir, "copy_first_dir_dir1");
#  857|   
#  858|       file = g_file_get_child (first_dir, "copy_first_dir_dir2");

Error: CLANG_WARNING: [#def72]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:1045:5: warning[deadcode.DeadStores]: Value stored to 'undo_manager' is never read
# 1043|       int ret;
# 1044|   
# 1045|->     undo_manager = nautilus_file_undo_manager_new ();
# 1046|       tag_manager = nautilus_tag_manager_new_dummy ();
# 1047|       g_test_init (&argc, &argv, NULL);

Error: CLANG_WARNING: [#def73]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-copy-files.c:1046:5: warning[deadcode.DeadStores]: Value stored to 'tag_manager' is never read
# 1044|   
# 1045|       undo_manager = nautilus_file_undo_manager_new ();
# 1046|->     tag_manager = nautilus_tag_manager_new_dummy ();
# 1047|       g_test_init (&argc, &argv, NULL);
# 1048|       g_test_set_nonfatal_assertions ();

Error: CPPCHECK_WARNING: [#def74]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-dir-has-files.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def75]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1149:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1147|       file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1148|       g_assert_true (g_file_query_exists (file, NULL));
# 1149|->     file = g_file_get_child (file, "move_dir1_child");
# 1150|       file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1151|   

Error: CLANG_WARNING: [#def76]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1150:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1148|       g_assert_true (g_file_query_exists (file, NULL));
# 1149|       file = g_file_get_child (file, "move_dir1_child");
# 1150|->     file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1151|   
# 1152|       file = g_file_get_child (result_file, "move_first_dir_dir2");

Error: CLANG_WARNING: [#def77]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1156:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1154|       file = g_file_get_child (file, "move_dir2_child");
# 1155|       g_assert_true (g_file_query_exists (file, NULL));
# 1156|->     file = g_file_get_child (result_file, "move_first_dir_dir2");
# 1157|   
# 1158|       file = g_file_get_child (first_dir, "move_first_dir_dir1");

Error: CLANG_WARNING: [#def78]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1162:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1160|       file = g_file_get_child (file, "move_dir1_child");
# 1161|       g_assert_false (g_file_query_exists (file, NULL));
# 1162|->     file = g_file_get_child (first_dir, "move_first_dir_dir1");
# 1163|   
# 1164|       file = g_file_get_child (first_dir, "move_first_dir_dir2");

Error: CLANG_WARNING: [#def79]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1220:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1218|       file = g_file_get_child (file, "move_dir1_child");
# 1219|       g_assert_true (g_file_query_exists (file, NULL));
# 1220|->     file = g_file_get_child (first_dir, "move_first_dir_dir1");
# 1221|   
# 1222|       file = g_file_get_child (first_dir, "move_first_dir_dir2");

Error: CLANG_WARNING: [#def80]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1226:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1224|       file = g_file_get_child (file, "move_dir2_child");
# 1225|       g_assert_true (g_file_query_exists (file, NULL));
# 1226|->     file = g_file_get_child (first_dir, "move_first_dir_dir2");
# 1227|   
# 1228|       g_assert_true (g_file_query_exists (first_dir, NULL));

Error: CLANG_WARNING: [#def81]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1265:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1263|       file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1264|       g_assert_true (g_file_query_exists (file, NULL));
# 1265|->     file = g_file_get_child (file, "move_dir1_child");
# 1266|       file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1267|   

Error: CLANG_WARNING: [#def82]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1266:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1264|       g_assert_true (g_file_query_exists (file, NULL));
# 1265|       file = g_file_get_child (file, "move_dir1_child");
# 1266|->     file = g_file_get_child (result_file, "move_first_dir_dir1");
# 1267|   
# 1268|       file = g_file_get_child (result_file, "move_first_dir_dir2");

Error: CLANG_WARNING: [#def83]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1272:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1270|       file = g_file_get_child (file, "move_dir2_child");
# 1271|       g_assert_true (g_file_query_exists (file, NULL));
# 1272|->     file = g_file_get_child (result_file, "move_first_dir_dir2");
# 1273|   
# 1274|       file = g_file_get_child (first_dir, "move_first_dir_dir1");

Error: CLANG_WARNING: [#def84]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1278:5: warning[deadcode.DeadStores]: Value stored to 'file' is never read
# 1276|       file = g_file_get_child (file, "move_dir1_child");
# 1277|       g_assert_false (g_file_query_exists (file, NULL));
# 1278|->     file = g_file_get_child (first_dir, "move_first_dir_dir1");
# 1279|   
# 1280|       file = g_file_get_child (first_dir, "move_first_dir_dir2");

Error: CLANG_WARNING: [#def85]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1540:5: warning[deadcode.DeadStores]: Value stored to 'undo_manager' is never read
# 1538|       int ret;
# 1539|   
# 1540|->     undo_manager = nautilus_file_undo_manager_new ();
# 1541|       tag_manager = nautilus_tag_manager_new_dummy ();
# 1542|       g_test_init (&argc, &argv, NULL);

Error: CLANG_WARNING: [#def86]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-move-files.c:1541:5: warning[deadcode.DeadStores]: Value stored to 'tag_manager' is never read
# 1539|   
# 1540|       undo_manager = nautilus_file_undo_manager_new ();
# 1541|->     tag_manager = nautilus_tag_manager_new_dummy ();
# 1542|       g_test_init (&argc, &argv, NULL);
# 1543|       g_test_set_nonfatal_assertions ();

Error: CLANG_WARNING: [#def87]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-trash-or-delete.c:484:5: warning[deadcode.DeadStores]: Value stored to 'undo_manager' is never read
#  482|       g_test_set_nonfatal_assertions ();
#  483|       nautilus_ensure_extension_points ();
#  484|->     undo_manager = nautilus_file_undo_manager_new ();
#  485|       tag_manager = nautilus_tag_manager_new_dummy ();
#  486|   

Error: CLANG_WARNING: [#def88]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-file-operations-trash-or-delete.c:485:5: warning[deadcode.DeadStores]: Value stored to 'tag_manager' is never read
#  483|       nautilus_ensure_extension_points ();
#  484|       undo_manager = nautilus_file_undo_manager_new ();
#  485|->     tag_manager = nautilus_tag_manager_new_dummy ();
#  486|   
#  487|       setup_test_suite ();

Error: CLANG_WARNING: [#def89]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-nautilus-search-engine-simple.c:61:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read
#   59|   
#   60|       location = g_file_new_for_path (test_get_tmp_dir ());
#   61|->     directory = nautilus_directory_get (location);
#   62|       nautilus_query_set_location (query, location);
#   63|   

Error: CLANG_WARNING: [#def90]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-nautilus-search-engine-tracker.c:176:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read
#  174|   
#  175|       location = g_file_new_for_path (indexed_tmpdir);
#  176|->     directory = nautilus_directory_get (location);
#  177|       nautilus_query_set_location (query, location);
#  178|   

Error: CLANG_WARNING: [#def91]
nautilus-46.2-build/nautilus-46.2/test/automated/displayless/test-nautilus-search-engine.c:62:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read
#   60|   
#   61|       location = g_file_new_for_path (test_get_tmp_dir ());
#   62|->     directory = nautilus_directory_get (location);
#   63|       nautilus_query_set_location (query, location);
#   64|   

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-211.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namenautilus-46.2-1.fc41
store-results-to/tmp/tmpzrq9208q/nautilus-46.2-1.fc41.tar.xz
time-created2024-07-03 16:28:42
time-finished2024-07-03 16:34:27
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpzrq9208q/nautilus-46.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpzrq9208q/nautilus-46.2-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9