From 700562560e7e9d09e371b7ca78e45afb7a6a0daa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Aug 2021 14:28:18 +0200 Subject: -remove confusing logs --- src/json/json.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/json') diff --git a/src/json/json.c b/src/json/json.c index dbe13bbdc..4c2b82ccb 100644 --- a/src/json/json.c +++ b/src/json/json.c @@ -777,10 +777,7 @@ TALER_JSON_get_error_code (const json_t *json) const json_t *jc; if (NULL == json) - { - GNUNET_break_op (0); return TALER_EC_GENERIC_INVALID_RESPONSE; - } jc = json_object_get (json, "code"); /* The caller already knows that the JSON represents an error, so we are dealing with a missing error code here. */ @@ -803,10 +800,7 @@ TALER_JSON_get_error_hint (const json_t *json) const json_t *jc; if (NULL == json) - { - GNUNET_break_op (0); return NULL; - } jc = json_object_get (json, "hint"); if (NULL == jc) -- cgit v1.2.3