From 10caec03cef923fd2c7ed7242b1954a0b07e0f18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Jul 2008 11:20:22 +0000 Subject: [PATCH] libs/gst/controller/gstinterpolationcontrolsource.c: Don't use declarations after statements. Original commit message from CVS: * libs/gst/controller/gstinterpolationcontrolsource.c: (_list_find_sorted_custom): Don't use declarations after statements. --- ChangeLog | 6 ++++++ libs/gst/controller/gstinterpolationcontrolsource.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 411c7c3..a65dabb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-07-08 Sebastian Dröge + * libs/gst/controller/gstinterpolationcontrolsource.c: + (_list_find_sorted_custom): + Don't use declarations after statements. + +2008-07-08 Sebastian Dröge + * 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 diff --git a/libs/gst/controller/gstinterpolationcontrolsource.c b/libs/gst/controller/gstinterpolationcontrolsource.c index 918ebf4..9b2a9cd 100644 --- a/libs/gst/controller/gstinterpolationcontrolsource.c +++ b/libs/gst/controller/gstinterpolationcontrolsource.c @@ -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) { -- 2.7.4