diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-06 10:37:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-06 10:37:29 +0200 |
commit | efb63d91616d5587bf99efab80c85afd205fc1bd (patch) | |
tree | f685c38a50d8d5451acbde1328becbfa06a27fe2 /src/json/json_helper.c | |
parent | 45720bde1c56c414fec8a1c3d5775208c3b32139 (diff) | |
download | gnunet-efb63d91616d5587bf99efab80c85afd205fc1bd.tar.gz gnunet-efb63d91616d5587bf99efab80c85afd205fc1bd.zip |
-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.c | 2 |
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 | |||
168 | clean_variable_data (void *cls, | 168 | clean_variable_data (void *cls, |
169 | struct GNUNET_JSON_Specification *spec) | 169 | struct GNUNET_JSON_Specification *spec) |
170 | { | 170 | { |
171 | (void) cls; | ||
171 | if (0 != *spec->size_ptr) | 172 | if (0 != *spec->size_ptr) |
172 | { | 173 | { |
173 | GNUNET_free (*(void **) spec->ptr); | 174 | GNUNET_free (*(void **) spec->ptr); |
@@ -221,6 +222,7 @@ parse_string (void *cls, | |||
221 | { | 222 | { |
222 | const char *str; | 223 | const char *str; |
223 | 224 | ||
225 | (void) cls; | ||
224 | str = json_string_value (root); | 226 | str = json_string_value (root); |
225 | if (NULL == str) | 227 | if (NULL == str) |
226 | { | 228 | { |