ack
On Mon, Mar 17, 2014 at 2:20 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel