thr_yield() returns void, so do not use its "return value" (ITS#4469)

This commit is contained in:
Hallvard Furuseth 2006-04-03 17:10:38 +00:00
parent 7a113f0759
commit 7057f8756c

View File

@ -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();