Prepare for '-Wunused-parameter'
[lttng-tools.git] / src / common / fd-tracker / utils-poll.cpp
index 4949d8160f104bad611ed35f928a76fbb9141194..b1370c55d50878c3615bc292194fd489601b19ac 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "utils.h"
 
-#if HAVE_EPOLL
+#ifdef HAVE_EPOLL
 
 struct create_args {
        struct lttng_poll_event *events;
@@ -32,7 +32,7 @@ end:
        return ret;
 }
 
-static int close_epoll(void *data, int *in_fd)
+static int close_epoll(void *data, int *in_fd __attribute__((unused)))
 {
        /* Will close the epfd. */
        lttng_poll_clean((struct lttng_poll_event *) data);
This page took 0.022883 seconds and 4 git commands to generate.