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:
@@ -55,7 +55,7 @@ testVirPCIDeviceCheckDriver(virPCIDevicePtr dev, const char *expected)
|
||||
}
|
||||
|
||||
static int
|
||||
testVirPCIDeviceNew(const void *opaque ATTRIBUTE_UNUSED)
|
||||
testVirPCIDeviceNew(const void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
int ret = -1;
|
||||
virPCIDevicePtr dev;
|
||||
@@ -87,7 +87,7 @@ testVirPCIDeviceNew(const void *opaque ATTRIBUTE_UNUSED)
|
||||
}
|
||||
|
||||
static int
|
||||
testVirPCIDeviceDetach(const void *opaque ATTRIBUTE_UNUSED)
|
||||
testVirPCIDeviceDetach(const void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
int ret = -1;
|
||||
virPCIDevicePtr dev[] = {NULL, NULL, NULL};
|
||||
@@ -128,7 +128,7 @@ testVirPCIDeviceDetach(const void *opaque ATTRIBUTE_UNUSED)
|
||||
}
|
||||
|
||||
static int
|
||||
testVirPCIDeviceReset(const void *opaque ATTRIBUTE_UNUSED)
|
||||
testVirPCIDeviceReset(const void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
int ret = -1;
|
||||
virPCIDevicePtr dev[] = {NULL, NULL, NULL};
|
||||
@@ -163,7 +163,7 @@ testVirPCIDeviceReset(const void *opaque ATTRIBUTE_UNUSED)
|
||||
}
|
||||
|
||||
static int
|
||||
testVirPCIDeviceReattach(const void *opaque ATTRIBUTE_UNUSED)
|
||||
testVirPCIDeviceReattach(const void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
int ret = -1;
|
||||
virPCIDevicePtr dev[] = {NULL, NULL, NULL};
|
||||
|
||||
Reference in New Issue
Block a user