Red Hat Bugzilla – Bug 1478146
libev: ev_loop macros don't mark unused
Last modified: 2017-08-03 13:33:28 EDT
In ev.h, the macro EV_P and by extension, EV_P_ can optionally be either `struct ev_loop *loop` and `struct ev_loop *loop,`, or `void` and ``.
However, this means that there is no way for end user programs to both use these macros (which is needed, unless they check the value of EV_MULTIPLICITY) and build with -Wunused, since the value loop, if it exists, has to go unused.
Please mark the loop parameter as __attribute__((unused)) or similar. Thanks!