Blob Blame History Raw
From f6916b32bbbd89fb3faf6ad2c21cb975e15a8b18 Mon Sep 17 00:00:00 2001
Message-Id: <f6916b32bbbd89fb3faf6ad2c21cb975e15a8b18@dist-git>
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
Date: Fri, 13 Mar 2020 13:08:02 +0100
Subject: [PATCH] virbuftest: remove extra G_GNUC_UNUSED markers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

These functions do use the opaque argument.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
(cherry picked from commit 08de39a9c7a65f17292eeef783d0598c2dfc8260)

Prerequisite for: https://bugzilla.redhat.com/show_bug.cgi?id=1808499

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <64efa6130de1732be0feeaf4f2e78c0aecaf38c5.1584101247.git.mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
---
 tests/virbuftest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/virbuftest.c b/tests/virbuftest.c
index 56a6ece8f6..f8eadea25a 100644
--- a/tests/virbuftest.c
+++ b/tests/virbuftest.c
@@ -244,7 +244,7 @@ struct testBufAddStrData {
 };
 
 static int
-testBufAddStr(const void *opaque G_GNUC_UNUSED)
+testBufAddStr(const void *opaque)
 {
     const struct testBufAddStrData *data = opaque;
     virBuffer buf = VIR_BUFFER_INITIALIZER;
@@ -277,7 +277,7 @@ testBufAddStr(const void *opaque G_GNUC_UNUSED)
 
 
 static int
-testBufEscapeStr(const void *opaque G_GNUC_UNUSED)
+testBufEscapeStr(const void *opaque)
 {
     const struct testBufAddStrData *data = opaque;
     virBuffer buf = VIR_BUFFER_INITIALIZER;
-- 
2.25.1