[gnome-software/wip/kalev/flatpak-version-matching-fixes: 7/9] flatpak: trivial: Avoid adding the branch twice
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/flatpak-version-matching-fixes: 7/9] flatpak: trivial: Avoid adding the branch twice
- Date: Wed, 10 Jul 2019 10:39:16 +0000 (UTC)
commit cd9147fe6a057f8f9f47a74bf50954d631cbf950
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 d416eddc..a95a192a 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -1804,7 +1804,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]