summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-03 14:28:18 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-03 14:28:18 +0200
commit700562560e7e9d09e371b7ca78e45afb7a6a0daa (patch)
treecec4fce15359a71256fe22e2da5b9269f5912229 /src
parent9da05a1901fddb26a82fdaf853566c23116800fd (diff)
downloadexchange-700562560e7e9d09e371b7ca78e45afb7a6a0daa.tar.gz
exchange-700562560e7e9d09e371b7ca78e45afb7a6a0daa.tar.bz2
exchange-700562560e7e9d09e371b7ca78e45afb7a6a0daa.zip
-remove confusing logs
Diffstat (limited to 'src')
-rw-r--r--src/json/json.c6
1 files changed, 0 insertions, 6 deletions
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)