Commit 2164865c authored by Rafaël Carré's avatar Rafaël Carré

vlc_media_library.h: unused variable

parent 615bcffe
......@@ -517,13 +517,12 @@ static inline int ml_AttributeIsString( ml_select_e meta )
*/
static inline void ml_gc_incref( ml_media_t* p_media )
{
unsigned refs;
ml_gc_object_t* p_gc = &p_media->ml_gc_data;
if( p_gc == NULL )
return;
vlc_spin_lock (&p_gc->spin);
refs = ++p_gc->refs;
++p_gc->refs;
vlc_spin_unlock (&p_gc->spin);
}
......
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