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

win32: remove duplicate check in vlc_cond_signal()

The same test is done in the underlying vlc_cond_broadcast().
parent 3f1f34db
...@@ -226,9 +226,6 @@ void vlc_cond_destroy (vlc_cond_t *p_condvar) ...@@ -226,9 +226,6 @@ void vlc_cond_destroy (vlc_cond_t *p_condvar)
void vlc_cond_signal (vlc_cond_t *p_condvar) void vlc_cond_signal (vlc_cond_t *p_condvar)
{ {
if (!p_condvar->clock)
return;
/* This is suboptimal but works. */ /* This is suboptimal but works. */
vlc_cond_broadcast (p_condvar); vlc_cond_broadcast (p_condvar);
} }
......
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