From ce8703cea0e78fd62b9279e0cffbff2b5f2372ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Tue, 26 Jan 2016 21:35:15 +0100
Subject: [PATCH] Silence warning
---
liberty.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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