commit 700562560e7e9d09e371b7ca78e45afb7a6a0daa
parent 9da05a1901fddb26a82fdaf853566c23116800fd
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 3 Aug 2021 14:28:18 +0200
-remove confusing logs
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git 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)