libs/gst/controller/gstinterpolationcontrolsource.c: Don't use declarations after...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 8 Jul 2008 11:20:22 +0000 (11:20 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 8 Jul 2008 11:20:22 +0000 (11:20 +0000)
Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
(_list_find_sorted_custom):
Don't use declarations after statements.

ChangeLog
libs/gst/controller/gstinterpolationcontrolsource.c

index 411c7c3..a65dabb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
+       * libs/gst/controller/gstinterpolationcontrolsource.c:
+       (_list_find_sorted_custom):
+       Don't use declarations after statements.
+
+2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
        * gst/gstchildproxy.c: (gst_child_proxy_base_init):
        Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
        of the the child-added / -removed signals as GstChildProxy
index 918ebf4..9b2a9cd 100644 (file)
@@ -428,10 +428,11 @@ static GList *
 _list_find_sorted_custom (GList * list, gconstpointer data, GCompareFunc func,
     GList ** prev_node)
 {
-  g_return_val_if_fail (func != NULL, list);
   GList *prev = list;
   gint cmp;
 
+  g_return_val_if_fail (func != NULL, list);
+
   while (list) {
     cmp = func (list->data, data);
     switch (cmp) {