From 7057f8756ccd0083778af14b5b0e216e40c88b6a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 3 Apr 2006 17:10:38 +0000 Subject: [PATCH] thr_yield() returns void, so do not use its "return value" (ITS#4469) --- libraries/libldap_r/thr_posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libldap_r/thr_posix.c b/libraries/libldap_r/thr_posix.c index c867e5715b..ce48b32b53 100644 --- a/libraries/libldap_r/thr_posix.c +++ b/libraries/libldap_r/thr_posix.c @@ -224,7 +224,8 @@ ldap_pvt_thread_yield( void ) #endif return 0; #elif HAVE_THR_YIELD - return thr_yield(); + thr_yield(); + return 0; #elif HAVE_PTHREADS == 10 return sched_yield(); -- 2.39.5