[retro-gtk/module-cleanup: 4/9] module: Drop unused variable tmp_file_name



commit f6bc3beb94707e3b0b9146bb00150375ef407419
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat May 23 10:21:59 2020 +0200

    module: Drop unused variable tmp_file_name

 retro-runner/retro-module.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/retro-runner/retro-module.c b/retro-runner/retro-module.c
index 9bb4546..4b2c83e 100644
--- a/retro-runner/retro-module.c
+++ b/retro-runner/retro-module.c
@@ -119,7 +119,6 @@ retro_module_new (const gchar *file_name)
   GFile *file;
   GFileIOStream *ios = NULL;
   GFile *absolute_path_file;
-  gchar *tmp_file_name;
   gpointer function;
   GError *inner_error = NULL;
 
@@ -161,9 +160,7 @@ retro_module_new (const gchar *file_name)
       g_clear_error (&inner_error);
     }
     self->is_a_copy = TRUE;
-    tmp_file_name = g_file_get_path (self->tmp_file);
     load_module (self, self->file_name);
-    g_free (tmp_file_name);
 
     if (ios != NULL)
       g_object_unref (ios);


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