[vlc-commits] Remove unused global mutex

Rémi Denis-Courmont git at videolan.org
Tue Jun 23 22:20:49 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 23 23:20:10 2015 +0300| [be54712b9b4d79c7c2475e48fb511798c658659a] | committer: Rémi Denis-Courmont

Remove unused global mutex

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be54712b9b4d79c7c2475e48fb511798c658659a
---

 include/vlc_threads.h |    1 -
 src/misc/threads.c    |    1 -
 2 files changed, 2 deletions(-)

diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index f3ac928..e1f9dc0 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -478,7 +478,6 @@ enum
    VLC_XLIB_MUTEX,
    VLC_MOSAIC_MUTEX,
    VLC_HIGHLIGHT_MUTEX,
-   VLC_ATOMIC_MUTEX,
    /* Insert new entry HERE */
    VLC_MAX_MUTEX
 };
diff --git a/src/misc/threads.c b/src/misc/threads.c
index 01e1d97..d805f0d 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -36,7 +36,6 @@ void vlc_global_mutex (unsigned n, bool acquire)
         VLC_STATIC_MUTEX,
         VLC_STATIC_MUTEX,
         VLC_STATIC_MUTEX,
-        VLC_STATIC_MUTEX,
     };
     static_assert (VLC_MAX_MUTEX == (sizeof (locks) / sizeof (locks[0])),
                    "Wrong number of global mutexes");



More information about the vlc-commits mailing list