*** empty log message ***

This commit is contained in:
Marc Alexander Lehmann 2018-12-29 14:23:20 +00:00
parent 31ca40b7a1
commit 91cbb62b51
2 changed files with 2 additions and 6 deletions

View File

@ -1,5 +1,7 @@
Revision history for libev, a high-performance and full-featured event loop.
- removed redundant 0-ptr check in ev_once.
4.25 Fri Dec 21 07:49:20 CET 2018
- INCOMPATIBLE CHANGE: EV_THROW was renamed to EV_NOEXCEPT
(EV_THROW still provided) and now uses noexcept on C++11 or newer.

6
ev.c
View File

@ -5005,12 +5005,6 @@ ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, vo
{
struct ev_once *once = (struct ev_once *)ev_malloc (sizeof (struct ev_once));
if (expect_false (!once))
{
cb (EV_ERROR | EV_READ | EV_WRITE | EV_TIMER, arg);
return;
}
once->cb = cb;
once->arg = arg;