[gnome-software] trivial: Fix a compiler warning



commit f23bdda2d2dce6264c4651f1bd3246462c0f231a
Author: Kalev Lember <klember redhat com>
Date:   Mon Jul 11 12:26:43 2016 +0200

    trivial: Fix a compiler warning

 src/plugins/gs-plugin-odrs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-odrs.c b/src/plugins/gs-plugin-odrs.c
index 8c2eeb0..362a64a 100644
--- a/src/plugins/gs-plugin-odrs.c
+++ b/src/plugins/gs-plugin-odrs.c
@@ -115,7 +115,7 @@ gs_plugin_odrs_load_ratings (GsPlugin *plugin, const gchar *fn, GError **error)
        /* parse the data and find the success */
        json_parser = json_parser_new ();
        if (!json_parser_load_from_file (json_parser, fn, error))
-               return NULL;
+               return FALSE;
        json_root = json_parser_get_root (json_parser);
        if (json_root == NULL) {
                g_set_error_literal (error,


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