[vlc-commits] win32: remove duplicate check in vlc_cond_signal()

Rémi Denis-Courmont git at videolan.org
Mon Nov 24 18:17:58 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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);
 }



More information about the vlc-commits mailing list