[gnome-software/gnome-3-26] snap: Remove unused variables
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-26] snap: Remove unused variables
- Date: Sun, 15 Oct 2017 23:00:21 +0000 (UTC)
commit e1ede3c607cf2123b67cccc9185b5a1c1ed5a69d
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Oct 16 12:00:04 2017 +1300
snap: Remove unused variables
plugins/snap/gs-plugin-snap.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index fba35f0..3ebb352 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -526,8 +526,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);
@@ -634,7 +632,6 @@ gs_plugin_refine_app (GsPlugin *plugin,
GCancellable *cancellable,
GError **error)
{
- GsPluginData *priv = gs_plugin_get_data (plugin);
g_autoptr(SnapdClient) client = NULL;
const gchar *id, *icon_url = NULL;
g_autoptr(SnapdSnap) local_snap = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]