X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/bdc7d079474f709e195c868021926b3c0c7d94a2..b05a0efa267648cf18cad1e018068034b735093b:/ev.c diff --git a/ev.c b/ev.c index b47e20c..9e172b7 100644 --- a/ev.c +++ b/ev.c @@ -996,7 +996,7 @@ any_pending (EV_P) return 0; } -static void +inline void call_pending (EV_P) { int pri; @@ -1006,7 +1006,7 @@ call_pending (EV_P) { ANPENDING *p = pendings [pri] + --pendingcnt [pri]; - if (p->w) + if (expect_true (p->w)) { p->w->pending = 0; EV_CB_INVOKE (p->w, p->events);