[glib] Don't return something from void function (#583229)



commit cb7a300e3136c9d1ee397a4c740513b8a0f21968
Author: Alexander Larsson <alexl redhat com>
Date:   Wed May 20 13:49:47 2009 +0200

    Don't return something from void function (#583229)
    
    g_async_initable_init_async is void, don't return something from it.
---
 gio/gasyncinitable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c
index 9c10c4f..238918b 100644
--- a/gio/gasyncinitable.c
+++ b/gio/gasyncinitable.c
@@ -154,7 +154,7 @@ g_async_initable_init_async (GAsyncInitable     *initable,
 
   iface = G_ASYNC_INITABLE_GET_IFACE (initable);
 
-  return (* iface->init_async) (initable, io_priority, cancellable, callback, user_data);
+  (* iface->init_async) (initable, io_priority, cancellable, callback, user_data);
 }
 
 /**



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