Skip to content
Snippets Groups Projects
Commit 7057f875 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

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

parent 7a113f07
Branches
Tags
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment