Browse Source

c99 etc.

master
Marc Alexander Lehmann 14 years ago
parent
commit
2a68b50837
  1. 15
      ev.c

15
ev.c

@ -1548,14 +1548,15 @@ ev_clear_pending (EV_P_ void *w)
W w_ = (W)w;
int pending = w_->pending;
if (!pending)
if (expect_true (pending))
{
ANPENDING *p = pendings [ABSPRI (w_)] + pending - 1;
w_->pending = 0;
p->w = 0;
return p->events;
}
else
return 0;
w_->pending = 0;
ANPENDING *p = pendings [ABSPRI (w_)] + pending - 1;
p->w = 0;
return p->events;
}
void inline_size

Loading…
Cancel
Save