X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fstatic%2Fwfcqueue.h;h=7c9d5483ddb2622aaf533455914bd7abf7645fe0;hp=48b2625dd3a4d0b28450dac4d7d0f7df921028c7;hb=d8a93addc87227dc5d4f6aa4cf79afb9b05c245b;hpb=124bd5c7002312888e811e209f59fc623eb2defc;ds=sidebyside diff --git a/urcu/static/wfcqueue.h b/urcu/static/wfcqueue.h index 48b2625..7c9d548 100644 --- a/urcu/static/wfcqueue.h +++ b/urcu/static/wfcqueue.h @@ -221,7 +221,7 @@ ___cds_wfcq_busy_wait(int *attempt, int blocking) if (!blocking) return 1; if (++(*attempt) >= WFCQ_ADAPT_ATTEMPTS) { - poll(NULL, 0, WFCQ_WAIT); /* Wait for 10ms */ + (void) poll(NULL, 0, WFCQ_WAIT); /* Wait for 10ms */ *attempt = 0; } else { caa_cpu_relax();