mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
gstvalue: Remove useless checks
The calling function already checks that the values exists and it's a valid list Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/453>
This commit is contained in:
parent
761bdc9e5c
commit
be76ba1312
1 changed files with 0 additions and 4 deletions
|
@ -5745,10 +5745,6 @@ gst_value_list_equals_range (const GValue * list, const GValue * value)
|
|||
const GValue *first;
|
||||
guint list_size, n;
|
||||
|
||||
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);
|
||||
if (list_size == 0)
|
||||
|
|
Loading…
Reference in a new issue