From efb63d91616d5587bf99efab80c85afd205fc1bd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 6 Apr 2021 10:37:29 +0200 Subject: -DESIGN: add various suggestions to gnunet_testing_ng_lib.h --- src/json/json_helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/json/json_helper.c') 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) { -- cgit v1.2.3