mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
thr_yield() returns void, so do not use its "return value" (ITS#4469)
This commit is contained in:
parent
7a113f0759
commit
7057f8756c
@ -224,7 +224,8 @@ ldap_pvt_thread_yield( void )
|
|||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
#elif HAVE_THR_YIELD
|
#elif HAVE_THR_YIELD
|
||||||
return thr_yield();
|
thr_yield();
|
||||||
|
return 0;
|
||||||
|
|
||||||
#elif HAVE_PTHREADS == 10
|
#elif HAVE_PTHREADS == 10
|
||||||
return sched_yield();
|
return sched_yield();
|
||||||
|
Loading…
Reference in New Issue
Block a user