35void
36AsyncSignalEventIO::process_event(int flags)
37{
38#if HAVE_EVENTFD
39 uint64_t counter;
CID 1518256 (#1 of 1): Ignoring number of bytes read (CHECKED_RETURN)
1. check_return: read(int, void *, size_t) returns the number of bytes read, but it is ignored.
40 static_cast<void>(read(_fd, &counter, sizeof(uint64_t)));
41#else
42 char dummy[1024];
43 static_cast<void>(read(_fd, &dummy[0], 1024));
44#endif
45}