aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liberty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/liberty.c b/liberty.c
index 0decb83..e61d9cd 100644
--- a/liberty.c
+++ b/liberty.c
@@ -2158,7 +2158,9 @@ poller_common_init (struct poller_common *self, struct poller *poller)
poller_fd_set (&self->async_event, POLLIN);
self->async_event.dispatcher = poller_common_dummy_dispatcher;
self->async_event.user_data = self;
-#endif // LIBERTY_WANT_ASYNC
+#else // ! LIBERTY_WANT_ASYNC
+ (void) poller;
+#endif // ! LIBERTY_WANT_ASYNC
}
static void