[gnome-software] trivial: Remove some dead code
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Remove some dead code
- Date: Mon, 18 Jul 2016 10:00:27 +0000 (UTC)
commit 9bb9b316888d8755b39f4ef6ee748aceb0467705
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 18 10:27:21 2016 +0100
trivial: Remove some dead code
src/plugins/gs-plugin-epiphany.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-epiphany.c b/src/plugins/gs-plugin-epiphany.c
index 3a8931c..69b4700 100644
--- a/src/plugins/gs-plugin-epiphany.c
+++ b/src/plugins/gs-plugin-epiphany.c
@@ -212,7 +212,6 @@ gs_plugin_app_remove (GsPlugin *plugin, GsApp *app,
GCancellable *cancellable, GError **error)
{
const gchar *epi_desktop;
- g_autofree gchar *basename = NULL;
g_autofree gchar *app_desktop = NULL;
g_autoptr(GFile) file_epi = NULL;
g_autoptr(GFile) file_app = NULL;
@@ -230,7 +229,6 @@ gs_plugin_app_remove (GsPlugin *plugin, GsApp *app,
return FALSE;
/* remove the shared desktop file */
- basename = g_file_get_basename (file_epi);
app_desktop = g_build_filename (g_get_user_data_dir (),
"applications",
gs_app_get_id_no_prefix (app),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]