[glib] Don't return from a void function



commit 6dfb50adf7eb004b9fe79f9314e27856d80a4de8
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 19 13:28:14 2012 -0400

    Don't return from a void function

 glib/gqsort.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gqsort.c b/glib/gqsort.c
index b7ad041..cd32181 100644
--- a/glib/gqsort.c
+++ b/glib/gqsort.c
@@ -302,5 +302,5 @@ g_qsort_with_data (gconstpointer    pbase,
                    GCompareDataFunc compare_func,
                    gpointer         user_data)
 {
-  return msort_r ((gpointer)pbase, total_elems, size, compare_func, user_data);
+  msort_r ((gpointer)pbase, total_elems, size, compare_func, user_data);
 }



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