From 9718bc4920ab4781378b777bf3e2af275c8d0575 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 4 Jun 2023 01:29:21 +0200 Subject: [PATCH] -allow NULL for i18n --- src/json/json_helper.c | 5 ----- 1 file changed, 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;