summaryrefslogtreecommitdiff
path: root/json-glib/tests/serialize-full.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-10-11 11:50:00 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-10-11 11:50:00 +0100
commitf6a1279a8e00fa52bb82733cccc633bc09ef83c0 (patch)
tree3091f826794638b2f175aaab6a6a828cc192d0ba /json-glib/tests/serialize-full.c
parentd370ce7ed63ae53c828586f30e6b3f740bc3cbe3 (diff)
downloadjson-glib-f6a1279a8e00fa52bb82733cccc633bc09ef83c0.tar.gz
Drop or mark unused parameters
Avoid compiler warnings when running with `-Wunused-parameter`.
Diffstat (limited to 'json-glib/tests/serialize-full.c')
-rw-r--r--json-glib/tests/serialize-full.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/tests/serialize-full.c b/json-glib/tests/serialize-full.c
index 42f189d..9e8d512 100644
--- a/json-glib/tests/serialize-full.c
+++ b/json-glib/tests/serialize-full.c
@@ -158,7 +158,7 @@ G_DEFINE_TYPE_WITH_CODE (TestObject, test_object, G_TYPE_OBJECT,
json_serializable_iface_init));
static JsonNode *
-test_object_serialize_property (JsonSerializable *serializable,
+test_object_serialize_property (JsonSerializable *serializable G_GNUC_UNUSED,
const gchar *name,
const GValue *value,
GParamSpec *pspec)