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:
@@ -103,7 +103,7 @@ testFileCacheIsValid(void *data,
|
||||
|
||||
|
||||
static void *
|
||||
testFileCacheNewData(const char *name ATTRIBUTE_UNUSED,
|
||||
testFileCacheNewData(const char *name G_GNUC_UNUSED,
|
||||
void *priv)
|
||||
{
|
||||
testFileCachePrivPtr testPriv = priv;
|
||||
@@ -114,8 +114,8 @@ testFileCacheNewData(const char *name ATTRIBUTE_UNUSED,
|
||||
|
||||
static void *
|
||||
testFileCacheLoadFile(const char *filename,
|
||||
const char *name ATTRIBUTE_UNUSED,
|
||||
void *priv ATTRIBUTE_UNUSED)
|
||||
const char *name G_GNUC_UNUSED,
|
||||
void *priv G_GNUC_UNUSED)
|
||||
{
|
||||
testFileCacheObjPtr obj;
|
||||
char *data;
|
||||
@@ -131,8 +131,8 @@ testFileCacheLoadFile(const char *filename,
|
||||
|
||||
|
||||
static int
|
||||
testFileCacheSaveFile(void *data ATTRIBUTE_UNUSED,
|
||||
const char *filename ATTRIBUTE_UNUSED,
|
||||
testFileCacheSaveFile(void *data G_GNUC_UNUSED,
|
||||
const char *filename G_GNUC_UNUSED,
|
||||
void *priv)
|
||||
{
|
||||
testFileCachePrivPtr testPriv = priv;
|
||||
|
||||
Reference in New Issue
Block a user