From 390a36ea34bbff271169994a5eea6faec41c9d26 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 17 Mar 2014 14:08:53 +0100 Subject: Add G_GNUC_UNUSED annotations to async_read_handler args 2 of the arguments are not used, the G_GNUC_UNUSED annotation will make this explicit. --- server/reds_stream.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server') 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; -- cgit