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(-)

diff --git a/server/reds_stream.c b/server/reds_stream.c
index 9041033..8476066 100644
--- a/server/reds_stream.c
+++ b/server/reds_stream.c
@@ -409,7 +409,9 @@ static inline void async_read_clear_handlers(AsyncRead *obj)
     obj->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 *obj = (AsyncRead *)data;
 
-- 
1.8.5.3

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to