[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 112/331] Fix compile warnings



commit 48c1653b786a8635f71791212cbe45891e0ffaee
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Feb 19 11:19:17 2016 -0800

    Fix compile warnings

 src/plugins/gs-plugin-ubuntu-reviews.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 7047a71..aa006eb 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -661,7 +661,7 @@ static gboolean
 parse_review_entries (GsPlugin *plugin, JsonParser *parser, GError **error)
 {
        JsonArray *array;
-       gint i;
+       guint i;
 
        if (!JSON_NODE_HOLDS_ARRAY (json_parser_get_root (parser)))
                return FALSE;
@@ -776,7 +776,6 @@ send_review_request (GsPlugin *plugin, const gchar *method, const gchar *path, J
 static gboolean
 download_review_stats (GsPlugin *plugin, GError **error)
 {
-       guint status_code;
        g_autofree gchar *uri = NULL;
        g_autoptr(SoupMessage) msg = NULL;
        JsonParser *result;


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