[nautilus/wip/oholy/search-engine-fixes: 14/20] search-engine-recent: Drop dead code




commit d75a451d6f10cb61595f5dde31907fcd4e94ab5e
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 d2204d163..27d10bb82 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]