[gnome-software/wip/jrocha/category-redesign: 3/9] trivial: Fix fwupd plugin bug found using clang



commit 383a761b70dfaefa00cd3fe88bfa8d948480dd1b
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 29 14:45:38 2017 +0100

    trivial: Fix fwupd plugin bug found using clang

 plugins/fwupd/gs-plugin-fwupd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c
index 725b00b..7f7e73b 100644
--- a/plugins/fwupd/gs-plugin-fwupd.c
+++ b/plugins/fwupd/gs-plugin-fwupd.c
@@ -836,7 +836,7 @@ gs_plugin_fwupd_refresh_remote (GsPlugin *plugin,
                                    /* TRANSLATORS: status text when downloading */
                                    _("Downloading firmware update metadata…"));
 #if FWUPD_CHECK_VERSION(0,9,7)
-       url_asc = g_strdup (fwupd_remote_get_metadata_uri (remote));
+       url = g_strdup (fwupd_remote_get_metadata_uri (remote));
 #else
        url = soup_uri_to_string (fwupd_remote_get_uri (remote), FALSE);
 #endif


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