[gnome-software/gnome-3-32] flatpak: trivial: Avoid adding the branch twice



commit 6e94b2b9348978827021bf1043d2f07909fec37d
Author: Kalev Lember <klember redhat com>
Date:   Mon Jul 8 17:55:59 2019 +0300

    flatpak: trivial: Avoid adding the branch twice
    
    We already add it a bit above in the same function.

 plugins/flatpak/gs-flatpak.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 1a98281f..24599174 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -1800,7 +1800,6 @@ gs_flatpak_create_runtime (GsFlatpak *self, GsApp *parent, const gchar *runtime)
        gs_flatpak_app_set_ref_kind (app, FLATPAK_REF_KIND_RUNTIME);
        gs_flatpak_app_set_ref_name (app, split[0]);
        gs_flatpak_app_set_ref_arch (app, split[1]);
-       gs_app_set_branch (app, split[2]);
 
        /* save in the cache */
        gs_plugin_cache_add (self->plugin, NULL, app);


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