d76c62
From f6916b32bbbd89fb3faf6ad2c21cb975e15a8b18 Mon Sep 17 00:00:00 2001
d76c62
Message-Id: <f6916b32bbbd89fb3faf6ad2c21cb975e15a8b18@dist-git>
d76c62
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
d76c62
Date: Fri, 13 Mar 2020 13:08:02 +0100
d76c62
Subject: [PATCH] virbuftest: remove extra G_GNUC_UNUSED markers
d76c62
MIME-Version: 1.0
d76c62
Content-Type: text/plain; charset=UTF-8
d76c62
Content-Transfer-Encoding: 8bit
d76c62
d76c62
These functions do use the opaque argument.
d76c62
d76c62
Signed-off-by: Ján Tomko <jtomko@redhat.com>
d76c62
Reviewed-by: Erik Skultety <eskultet@redhat.com>
d76c62
(cherry picked from commit 08de39a9c7a65f17292eeef783d0598c2dfc8260)
d76c62
d76c62
Prerequisite for: https://bugzilla.redhat.com/show_bug.cgi?id=1808499
d76c62
d76c62
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
d76c62
Message-Id: <64efa6130de1732be0feeaf4f2e78c0aecaf38c5.1584101247.git.mprivozn@redhat.com>
d76c62
Reviewed-by: Ján Tomko <jtomko@redhat.com>
d76c62
---
d76c62
 tests/virbuftest.c | 4 ++--
d76c62
 1 file changed, 2 insertions(+), 2 deletions(-)
d76c62
d76c62
diff --git a/tests/virbuftest.c b/tests/virbuftest.c
d76c62
index 56a6ece8f6..f8eadea25a 100644
d76c62
--- a/tests/virbuftest.c
d76c62
+++ b/tests/virbuftest.c
d76c62
@@ -244,7 +244,7 @@ struct testBufAddStrData {
d76c62
 };
d76c62
 
d76c62
 static int
d76c62
-testBufAddStr(const void *opaque G_GNUC_UNUSED)
d76c62
+testBufAddStr(const void *opaque)
d76c62
 {
d76c62
     const struct testBufAddStrData *data = opaque;
d76c62
     virBuffer buf = VIR_BUFFER_INITIALIZER;
d76c62
@@ -277,7 +277,7 @@ testBufAddStr(const void *opaque G_GNUC_UNUSED)
d76c62
 
d76c62
 
d76c62
 static int
d76c62
-testBufEscapeStr(const void *opaque G_GNUC_UNUSED)
d76c62
+testBufEscapeStr(const void *opaque)
d76c62
 {
d76c62
     const struct testBufAddStrData *data = opaque;
d76c62
     virBuffer buf = VIR_BUFFER_INITIALIZER;
d76c62
-- 
d76c62
2.25.1
d76c62