aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-04 01:29:21 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-04 01:29:21 +0200
commit9718bc4920ab4781378b777bf3e2af275c8d0575 (patch)
tree458298213bb365f398ab498db8450857ce37ffd4 /src/json
parent8f2c2766a47be08abba17e90eadb94f49a0bea38 (diff)
-allow NULL for i18n
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index fd7e99d93..5c0f8bad8 100644
--- 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;