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.
This commit is contained in:
Christophe Fergeau 2014-03-17 14:08:53 +01:00
parent e36c7efe81
commit 390a36ea34

View File

@ -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;