mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 15:45:54 +00:00
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:
parent
e36c7efe81
commit
390a36ea34
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user