Commit d74708a8 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gstvalue: use g_assert() in internal function for already-checked things

So these get compiled out for releases.
parent bbefd608
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment