diff options
Diffstat (limited to 'lib/pthreadpool')
-rw-r--r-- | lib/pthreadpool/pthreadpool_tevent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pthreadpool/pthreadpool_tevent.c b/lib/pthreadpool/pthreadpool_tevent.c index b4a9786f231..7088202d97c 100644 --- a/lib/pthreadpool/pthreadpool_tevent.c +++ b/lib/pthreadpool/pthreadpool_tevent.c @@ -873,7 +873,7 @@ static void pthreadpool_tevent_job_orphan(struct pthreadpool_tevent_job *job) */ PTHREAD_TEVENT_JOB_THREAD_FENCE(job); while (job->needs_fence.wrapper) { - poll(NULL, 0, 1); + (void)poll(NULL, 0, 1); PTHREAD_TEVENT_JOB_THREAD_FENCE(job); } job->wrapper = NULL; @@ -903,7 +903,7 @@ static void pthreadpool_tevent_job_orphan(struct pthreadpool_tevent_job *job) if (job->needs_fence.signaled) { break; } - poll(NULL, 0, 1); + (void)poll(NULL, 0, 1); PTHREAD_TEVENT_JOB_THREAD_FENCE(job); } |