[nautilus/wip/antoniof/search-engine-fixes-42-backport: 1/7] search-engine-recent: Drop dead code




commit 7b89146ed39bda16b41d4ab7d512f25bbaf98fcc
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Feb 14 15:54:25 2022 +0100

    search-engine-recent: Drop dead code
    
    Relates: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2152

 src/nautilus-search-engine-recent.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-search-engine-recent.c b/src/nautilus-search-engine-recent.c
index 6082e4a1a..a0fd19937 100644
--- a/src/nautilus-search-engine-recent.c
+++ b/src/nautilus-search-engine-recent.c
@@ -140,7 +140,6 @@ is_file_valid_recursive (NautilusSearchEngineRecent  *self,
                          GFile                       *file,
                          GError                     **error)
 {
-    g_autofree gchar *path = NULL;
     g_autoptr (GFileInfo) file_info = NULL;
 
     file_info = g_file_query_info (file, FILE_ATTRIBS,
@@ -157,7 +156,6 @@ is_file_valid_recursive (NautilusSearchEngineRecent  *self,
         return FALSE;
     }
 
-    path = g_file_get_path (file);
 
     if (!nautilus_query_get_show_hidden_files (self->query))
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]