[gnome-software/gnome-3-22] trivial: Fix an unused variable warning
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] trivial: Fix an unused variable warning
- Date: Mon, 10 Oct 2016 22:47:18 +0000 (UTC)
commit 4df7faf68d834c3cf462707d6c04e149b699d129
Author: Kalev Lember <klember redhat com>
Date: Mon Oct 10 22:32:30 2016 +0200
trivial: Fix an unused variable warning
src/gs-app-list.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app-list.c b/src/gs-app-list.c
index 2a5ebdd..6919eb8 100644
--- a/src/gs-app-list.c
+++ b/src/gs-app-list.c
@@ -69,7 +69,9 @@ static void
gs_app_list_add_safe (GsAppList *list, GsApp *app)
{
const gchar *id;
+#if !AS_CHECK_VERSION(0,6,2)
guint i;
+#endif
/* if we're lazy-loading the ID then we can't filter for duplicates */
id = gs_app_get_unique_id (app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]