[gnome-software] trivial: Fix fwupd plugin bug found using clang
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix fwupd plugin bug found using clang
- Date: Tue, 29 Aug 2017 13:48:05 +0000 (UTC)
commit 3f112827ded6e4288a3eb99bcecb1bacdc50c671
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]