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.
This commit is contained in:
Sebastian Dröge 2008-07-08 11:20:22 +00:00
parent e4b764d97f
commit 10caec03ce
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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> 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/gstchildproxy.c: (gst_child_proxy_base_init): * gst/gstchildproxy.c: (gst_child_proxy_base_init):

View file

@ -428,10 +428,11 @@ static GList *
_list_find_sorted_custom (GList * list, gconstpointer data, GCompareFunc func, _list_find_sorted_custom (GList * list, gconstpointer data, GCompareFunc func,
GList ** prev_node) GList ** prev_node)
{ {
g_return_val_if_fail (func != NULL, list);
GList *prev = list; GList *prev = list;
gint cmp; gint cmp;
g_return_val_if_fail (func != NULL, list);
while (list) { while (list) {
cmp = func (list->data, data); cmp = func (list->data, data);
switch (cmp) { switch (cmp) {