[gnome-software/wip/ubuntu-3-26] snap: Remove unused variable



commit 806c8e8b079228a33e2ae3078a6b7e4e477b771e
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Oct 24 11:33:44 2017 +1300

    snap: Remove unused variable

 plugins/snap/gs-plugin-snap.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index 84f225c..6b41dae 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -554,8 +554,6 @@ gs_plugin_add_search (GsPlugin *plugin,
 static gboolean
 load_icon (GsPlugin *plugin, SnapdClient *client, GsApp *app, const gchar *icon_url, GCancellable 
*cancellable, GError **error)
 {
-       GsPluginData *priv = gs_plugin_get_data (plugin);
-
        if (icon_url == NULL || g_strcmp0 (icon_url, "") == 0) {
                g_autoptr(AsIcon) icon = as_icon_new ();
                as_icon_set_kind (icon, AS_ICON_KIND_STOCK);


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