[gnome-software] trivial: Remove some dead code



commit 9f37b09f40fd6d2c393f26d92d58b4f5d79eb122
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 29 14:44:54 2017 +0100

    trivial: Remove some dead code

 plugins/flatpak/gs-flatpak.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 6a2719b..c027011 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2205,11 +2205,6 @@ gs_flatpak_launch (GsFlatpak *self,
                   GError **error)
 {
        GsApp *runtime;
-       const gchar *branch = NULL;
-
-       branch = gs_flatpak_app_get_ref_branch (app);
-       if (branch == NULL)
-               branch = "master";
 
        /* check the runtime is installed */
        runtime = gs_app_get_runtime (app);


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