[gnome-software] trivial: Remove some dead code



commit a1f3dbfe0c27d3e510438a9b40880bb8b18addb9
Author: Richard Hughes <richard hughsie com>
Date:   Wed Apr 13 20:35:54 2016 +0100

    trivial: Remove some dead code
    
    The linker might do bad things here as well.

 src/plugins/gs-plugin-ostree.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ostree.c b/src/plugins/gs-plugin-ostree.c
index 1a7b2e4..b8e7c61 100644
--- a/src/plugins/gs-plugin-ostree.c
+++ b/src/plugins/gs-plugin-ostree.c
@@ -115,10 +115,6 @@ gs_plugin_add_sources (GsPlugin *plugin,
        guint i;
        g_auto(GStrv) names = NULL;
 
-       /* set up plugin */
-       if (!gs_plugin_setup (plugin, cancellable, error))
-               return FALSE;
-
        /* get all remotes */
        names = ostree_repo_remote_list (plugin->priv->ostree_repo, NULL);
        if (names == NULL)


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