[gtk+] GtkRecentManager: Remove superfluous local variable



commit 6bbb9a1173f67808b118dcff035889bc2e888081
Author: Timm Bäder <mail baedert org>
Date:   Sun Mar 19 14:28:32 2017 +0100

    GtkRecentManager: Remove superfluous local variable

 gtk/gtkrecentmanager.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index 2feaf1b..4a9552d 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -786,8 +786,6 @@ gtk_recent_manager_add_item_query_info (GObject      *source_object,
 
   if (file_info)
     {
-      gchar *content_type;
-
       content_type = g_file_info_get_attribute_as_string (file_info, 
G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE);
 
       if (G_LIKELY (content_type))


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