1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-27 04:21:53 +02:00

Retaining NULL makes no sense

This commit is contained in:
Rémi Denis-Courmont 2009-10-05 21:58:34 +03:00
parent 2fa0b5fa1a
commit f3b630e51c

View File

@ -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++;
}