aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_helper.c
diff options
context:
space:
mode:
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
168clean_variable_data (void *cls, 168clean_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 {