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