Commit 74efc820 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove assert() with side effects

pl_Get() has side effects.
parent abf54076
......@@ -412,7 +412,6 @@ void set_current_status_node( playlist_t * p_playlist,
static input_thread_t *playlist_FindInput( vlc_object_t *object )
assert( object == VLC_OBJECT(pl_Get(object)) );
return playlist_CurrentInput( (playlist_t *)object );
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