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

Win32: fix warnings

parent 4dcbe557
...@@ -164,14 +164,12 @@ void vlc_mutex_init( vlc_mutex_t *p_mutex ) ...@@ -164,14 +164,12 @@ void vlc_mutex_init( vlc_mutex_t *p_mutex )
* no defined behavior in case of recursive locking. */ * no defined behavior in case of recursive locking. */
InitializeCriticalSection (&p_mutex->mutex); InitializeCriticalSection (&p_mutex->mutex);
p_mutex->initialized = 1; p_mutex->initialized = 1;
return 0;
} }
void vlc_mutex_init_recursive( vlc_mutex_t *p_mutex ) void vlc_mutex_init_recursive( vlc_mutex_t *p_mutex )
{ {
InitializeCriticalSection( &p_mutex->mutex ); InitializeCriticalSection( &p_mutex->mutex );
p_mutex->initialized = 1; p_mutex->initialized = 1;
return 0;
} }
......
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