[vlc-devel] [PATCH 5/5] vlccore: fix a warning on OS/2
KO Myung-Hun
komh78 at gmail.com
Sat Mar 2 16:11:10 CET 2013
-----
os2/thread.c: In function 'vlc_cond_timedwait':
os2/thread.c:329: warning: 'return' with no value, in function returning non-voi
d
-----
---
src/os2/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/os2/thread.c b/src/os2/thread.c
index 10072aa..6ea4dd5 100644
--- a/src/os2/thread.c
+++ b/src/os2/thread.c
@@ -326,7 +326,7 @@ int vlc_cond_timedwait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex,
if (!p_condvar->hev)
{ /* FIXME FIXME FIXME */
msleep (50000);
- return;
+ return ETIMEDOUT;
}
do
--
1.7.3.2
More information about the vlc-devel
mailing list