[retro-gtk/module-cleanup: 1/6] module: Drop unused variable tmp_file_name
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/module-cleanup: 1/6] module: Drop unused variable tmp_file_name
- Date: Sat, 23 May 2020 09:24:34 +0000 (UTC)
commit 2d6ca8c96250b3ca15b69cd631a03e96b8d99bcc
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]