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