summaryrefslogtreecommitdiff
path: root/extra/libevent/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libevent/event.c')
-rw-r--r--extra/libevent/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/libevent/event.c b/extra/libevent/event.c
index e96c1b6a3ab..2042c2de626 100644
--- a/extra/libevent/event.c
+++ b/extra/libevent/event.c
@@ -394,7 +394,8 @@ event_base_get_method(struct event_base *base)
}
static void
-event_loopexit_cb(int fd, short what, void *arg)
+event_loopexit_cb(int fd __attribute__((unused)),
+ short what __attribute__((unused)), void *arg)
{
struct event_base *base = arg;
base->event_gotterm = 1;