mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: use G_GNUC_UNUSED
Use G_GNUC_UNUSED from GLib instead of ATTRIBUTE_UNUSED. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
#ifdef HAVE_SOCKETPAIR
|
||||
|
||||
static void *
|
||||
testClientNew(virNetServerClientPtr client ATTRIBUTE_UNUSED,
|
||||
void *opaque ATTRIBUTE_UNUSED)
|
||||
testClientNew(virNetServerClientPtr client G_GNUC_UNUSED,
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
char *dummy;
|
||||
|
||||
@@ -45,7 +45,7 @@ testClientFree(void *opaque)
|
||||
VIR_FREE(opaque);
|
||||
}
|
||||
|
||||
static int testIdentity(const void *opaque ATTRIBUTE_UNUSED)
|
||||
static int testIdentity(const void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
int sv[2];
|
||||
int ret = -1;
|
||||
|
||||
Reference in New Issue
Block a user