mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +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
|
||||
return 0;
|
||||
#elif HAVE_THR_YIELD
|
||||
return thr_yield();
|
||||
thr_yield();
|
||||
return 0;
|
||||
|
||||
#elif HAVE_PTHREADS == 10
|
||||
return sched_yield();
|
||||
|
Loading…
Reference in New Issue
Block a user