mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
thr_yield() returns void, so do not use its "return value" (ITS#4469)
This commit is contained in:
parent
7a113f0759
commit
7057f8756c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue