summaryrefslogtreecommitdiff
path: root/json-glib/json-generator.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/json-generator.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/json-generator.c')
-rw-r--r--json-glib/json-generator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/json-glib/json-generator.c b/json-glib/json-generator.c
index fc8dcfc..40e9b02 100644
--- a/json-glib/json-generator.c
+++ b/json-glib/json-generator.c
@@ -61,7 +61,6 @@ enum
};
static void dump_value (GString *buffer,
- gint level,
JsonNode *node);
static void dump_array (JsonGenerator *generator,
GString *buffer,
@@ -316,7 +315,7 @@ dump_node (JsonGenerator *generator,
break;
case JSON_NODE_VALUE:
- dump_value (buffer, level, node);
+ dump_value (buffer, node);
break;
case JSON_NODE_ARRAY:
@@ -333,7 +332,6 @@ dump_node (JsonGenerator *generator,
static void
dump_value (GString *buffer,
- gint level,
JsonNode *node)
{
const JsonValue *value;