[gnome-software/wip/rancell/reviews] Fix compile warnings
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/reviews] Fix compile warnings
- Date: Fri, 19 Feb 2016 19:19:30 +0000 (UTC)
commit 47947bd5b80eb39a712b78f0f9d315f6aeb61865
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 | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 482f853..64e3f81 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -282,7 +282,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;
@@ -397,7 +397,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;
@@ -581,7 +580,7 @@ static gboolean
parse_reviews (GsPlugin *plugin, JsonParser *parser, GsApp *app, GError **error)
{
JsonArray *array;
- gint i;
+ guint i;
if (!JSON_NODE_HOLDS_ARRAY (json_parser_get_root (parser)))
return FALSE;
@@ -741,7 +740,6 @@ set_package_review (GsPlugin *plugin,
const gchar *package_name,
GError **error)
{
- GsPluginPrivate *priv = plugin->priv;
gint rating;
gint n_stars;
g_autofree gchar *os_id = NULL, *os_ubuntu_codename = NULL, *language = NULL, *architecture = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]