commit 9718bc4920ab4781378b777bf3e2af275c8d0575
parent 8f2c2766a47be08abba17e90eadb94f49a0bea38
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 4 Jun 2023 01:29:21 +0200
-allow NULL for i18n
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
@@ -1237,11 +1237,6 @@ parse_i18n_string (void *cls,
const char *str;
str = json_string_value (val);
- if (NULL == str)
- {
- GNUNET_break_op (0);
- return GNUNET_SYSERR;
- }
*(const char **) spec->ptr = str;
}
return GNUNET_OK;