summaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-06 10:37:29 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-06 10:37:29 +0200
commitefb63d91616d5587bf99efab80c85afd205fc1bd (patch)
treef685c38a50d8d5451acbde1328becbfa06a27fe2 /src/json/json_helper.c
parent45720bde1c56c414fec8a1c3d5775208c3b32139 (diff)
-DESIGN: add various suggestions to gnunet_testing_ng_lib.h
Diffstat (limited to 'src/json/json_helper.c')
-rw-r--r--src/json/json_helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 621487f0a..3bf2c1299 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -168,6 +168,7 @@ static void
clean_variable_data (void *cls,
struct GNUNET_JSON_Specification *spec)
{
+ (void) cls;
if (0 != *spec->size_ptr)
{
GNUNET_free (*(void **) spec->ptr);
@@ -221,6 +222,7 @@ parse_string (void *cls,
{
const char *str;
+ (void) cls;
str = json_string_value (root);
if (NULL == str)
{