--- libev/ev.c 2007/11/16 10:37:28 1.121 +++ libev/ev.c 2007/11/17 02:00:48 1.122 @@ -996,7 +996,7 @@ return 0; } -static void +inline void call_pending (EV_P) { int pri; @@ -1006,7 +1006,7 @@ { 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);