[gnome-software] trivial: Fix up 3 little buglets spotted by clang



commit 7557ed8549f99d6c3d4b15f8f88d16a0789baa36
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 2 19:30:59 2013 +0100

    trivial: Fix up 3 little buglets spotted by clang

 src/gs-plugin-loader.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 49a441f..47e4f1e 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -879,7 +879,6 @@ cd_plugin_loader_search_thread_cb (GSimpleAsyncResult *res,
                        continue;
                ret = g_cancellable_set_error_if_cancelled (cancellable, &error);
                if (ret) {
-                       ret = FALSE;
                        cd_plugin_loader_get_all_state_finish (state, error);
                        g_error_free (error);
                        goto out;
@@ -1036,7 +1035,6 @@ cd_plugin_loader_get_categories_thread_cb (GSimpleAsyncResult *res,
                        continue;
                ret = g_cancellable_set_error_if_cancelled (cancellable, &error);
                if (ret) {
-                       ret = FALSE;
                        cd_plugin_loader_get_all_state_finish (state, error);
                        g_error_free (error);
                        goto out;
@@ -1169,7 +1167,6 @@ cd_plugin_loader_get_category_apps_thread_cb (GSimpleAsyncResult *res,
                        continue;
                ret = g_cancellable_set_error_if_cancelled (cancellable, &error);
                if (ret) {
-                       ret = FALSE;
                        cd_plugin_loader_get_all_state_finish (state, error);
                        g_error_free (error);
                        goto out;


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