From: Hallvard Furuseth Date: Mon, 3 Apr 2006 17:10:38 +0000 (+0000) Subject: thr_yield() returns void, so do not use its "return value" (ITS#4469) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7057f8756ccd0083778af14b5b0e216e40c88b6a;p=openldap thr_yield() returns void, so do not use its "return value" (ITS#4469) --- 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();