vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Nov 24 
19:16:42 2014 +0200| [5c8d3f0602e8a0aaa64475f6bb48ff59a823aacd] | committer: 
Rémi Denis-Courmont

win32: remove duplicate check in vlc_cond_signal()

The same test is done in the underlying vlc_cond_broadcast().

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

 src/win32/thread.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index fe17ad5..7dcfc4c 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -226,9 +226,6 @@ void vlc_cond_destroy (vlc_cond_t *p_condvar)
 
 void vlc_cond_signal (vlc_cond_t *p_condvar)
 {
-    if (!p_condvar->clock)
-        return;
-
     /* This is suboptimal but works. */
     vlc_cond_broadcast (p_condvar);
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to