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

Retaining NULL makes no sense

parent 2fa0b5fa
......@@ -413,9 +413,7 @@ void libvlc_media_release( libvlc_media_t *p_md )
**************************************************************************/
void libvlc_media_retain( libvlc_media_t *p_md )
{
if (!p_md)
return;
assert (p_md);
p_md->i_refcount++;
}
......
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