Commit ba8f1f35 authored by JP Dinger's avatar JP Dinger

Compile fix on windows -- vlc_mutex_init() now returns void.

parent 20bb3546
......@@ -44,12 +44,8 @@ static int gcry_vlc_mutex_init( void **p_sys )
if( p_lock == NULL)
return ENOMEM;
i_val = vlc_mutex_init( p_lock );
if( i_val )
free( p_lock );
else
*p_sys = p_lock;
return i_val;
vlc_mutex_init( p_lock );
return VLC_SUCCESS;
}
static int gcry_vlc_mutex_destroy( void **p_sys )
......
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