mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gstvalue: use g_assert() in internal function for already-checked things
So these get compiled out for releases.
This commit is contained in:
parent
bbefd6082f
commit
d74708a820
1 changed files with 3 additions and 3 deletions
|
@ -4454,9 +4454,9 @@ gst_value_list_equals_range (const GValue * list, const GValue * value)
|
|||
const GValue *first;
|
||||
guint list_size, n;
|
||||
|
||||
g_return_val_if_fail (G_IS_VALUE (list), FALSE);
|
||||
g_return_val_if_fail (G_IS_VALUE (value), FALSE);
|
||||
g_return_val_if_fail (GST_VALUE_HOLDS_LIST (list), FALSE);
|
||||
g_assert (G_IS_VALUE (list));
|
||||
g_assert (G_IS_VALUE (value));
|
||||
g_assert (GST_VALUE_HOLDS_LIST (list));
|
||||
|
||||
/* TODO: compare against an empty list ? No type though... */
|
||||
list_size = VALUE_LIST_SIZE (list);
|
||||
|
|
Loading…
Reference in a new issue