aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-01-26 21:35:15 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-01-26 21:35:40 +0100
commitce8703cea0e78fd62b9279e0cffbff2b5f2372ef (patch)
treebd4e228dcd901d921d30613f0304653822b2a354
parentf213a76ad494efe150a786b195a744e4b87c5ca9 (diff)
downloadliberty-ce8703cea0e78fd62b9279e0cffbff2b5f2372ef.tar.gz
liberty-ce8703cea0e78fd62b9279e0cffbff2b5f2372ef.tar.xz
liberty-ce8703cea0e78fd62b9279e0cffbff2b5f2372ef.zip
Silence warning
-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