aboutsummaryrefslogtreecommitdiff
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
parent8f2c2766a47be08abba17e90eadb94f49a0bea38 (diff)
downloadexchange-9718bc4920ab4781378b777bf3e2af275c8d0575.tar.xz
-allow NULL for i18n
-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;