-allow NULL for i18n

This commit is contained in:
Christian Grothoff 2023-06-04 01:29:21 +02:00
parent 8f2c2766a4
commit 9718bc4920
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1237,11 +1237,6 @@ parse_i18n_string (void *cls,
const char *str; const char *str;
str = json_string_value (val); str = json_string_value (val);
if (NULL == str)
{
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
*(const char **) spec->ptr = str; *(const char **) spec->ptr = str;
} }
return GNUNET_OK; return GNUNET_OK;