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

Remove unused global mutex

parent 5f6ba92a
...@@ -478,7 +478,6 @@ enum ...@@ -478,7 +478,6 @@ enum
VLC_XLIB_MUTEX, VLC_XLIB_MUTEX,
VLC_MOSAIC_MUTEX, VLC_MOSAIC_MUTEX,
VLC_HIGHLIGHT_MUTEX, VLC_HIGHLIGHT_MUTEX,
VLC_ATOMIC_MUTEX,
/* Insert new entry HERE */ /* Insert new entry HERE */
VLC_MAX_MUTEX VLC_MAX_MUTEX
}; };
......
...@@ -36,7 +36,6 @@ void vlc_global_mutex (unsigned n, bool acquire) ...@@ -36,7 +36,6 @@ void vlc_global_mutex (unsigned n, bool acquire)
VLC_STATIC_MUTEX, VLC_STATIC_MUTEX,
VLC_STATIC_MUTEX, VLC_STATIC_MUTEX,
VLC_STATIC_MUTEX, VLC_STATIC_MUTEX,
VLC_STATIC_MUTEX,
}; };
static_assert (VLC_MAX_MUTEX == (sizeof (locks) / sizeof (locks[0])), static_assert (VLC_MAX_MUTEX == (sizeof (locks) / sizeof (locks[0])),
"Wrong number of global mutexes"); "Wrong number of global mutexes");
......
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