[evolution/gnome-3-10] Bug #711835 - Clang build in broken: void function 'cal_comp_transfer_item_to' should not return a v



commit 066270dd3f7f4b16dd751cb78637aa224c7efc61
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Mon Nov 11 13:18:35 2013 +0100

    Bug #711835 - Clang build in broken: void function 'cal_comp_transfer_item_to' should not return a value

 calendar/gui/comp-util.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c
index a5c231e..b2569d5 100644
--- a/calendar/gui/comp-util.c
+++ b/calendar/gui/comp-util.c
@@ -913,9 +913,9 @@ cal_comp_transfer_item_to (ECalClient *src_client,
        GSimpleAsyncResult *simple;
        AsyncContext *async_context;
 
-       g_return_val_if_fail (E_IS_CAL_CLIENT (src_client), FALSE);
-       g_return_val_if_fail (E_IS_CAL_CLIENT (dest_client), FALSE);
-       g_return_val_if_fail (icalcomp_vcal != NULL, FALSE);
+       g_return_if_fail (E_IS_CAL_CLIENT (src_client));
+       g_return_if_fail (E_IS_CAL_CLIENT (dest_client));
+       g_return_if_fail (icalcomp_vcal != NULL);
 
        async_context = g_slice_new0 (AsyncContext);
        async_context->src_client = g_object_ref (src_client);


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