Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
be54712b
Commit
be54712b
authored
Jun 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused global mutex
parent
5f6ba92a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
include/vlc_threads.h
include/vlc_threads.h
+0
-1
src/misc/threads.c
src/misc/threads.c
+0
-1
No files found.
include/vlc_threads.h
View file @
be54712b
...
...
@@ -478,7 +478,6 @@ enum
VLC_XLIB_MUTEX
,
VLC_MOSAIC_MUTEX
,
VLC_HIGHLIGHT_MUTEX
,
VLC_ATOMIC_MUTEX
,
/* Insert new entry HERE */
VLC_MAX_MUTEX
};
...
...
src/misc/threads.c
View file @
be54712b
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment