summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/reds_stream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/reds_stream.c b/server/reds_stream.c
index 2c6be618..f5989509 100644
--- a/server/reds_stream.c
+++ b/server/reds_stream.c
@@ -413,7 +413,9 @@ static inline void async_read_clear_handlers(AsyncRead *async)
async->stream = NULL;
}
-static void async_read_handler(int fd, int event, void *data)
+static void async_read_handler(G_GNUC_UNUSED int fd,
+ G_GNUC_UNUSED int event,
+ void *data)
{
AsyncRead *async = (AsyncRead *)data;