diff options
Diffstat (limited to 'src/json/json.c')
-rw-r--r-- | src/json/json.c | 6 |
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) | |||
777 | const json_t *jc; | 777 | const json_t *jc; |
778 | 778 | ||
779 | if (NULL == json) | 779 | if (NULL == json) |
780 | { | ||
781 | GNUNET_break_op (0); | ||
782 | return TALER_EC_GENERIC_INVALID_RESPONSE; | 780 | return TALER_EC_GENERIC_INVALID_RESPONSE; |
783 | } | ||
784 | jc = json_object_get (json, "code"); | 781 | jc = json_object_get (json, "code"); |
785 | /* The caller already knows that the JSON represents an error, | 782 | /* The caller already knows that the JSON represents an error, |
786 | so we are dealing with a missing error code here. */ | 783 | so we are dealing with a missing error code here. */ |
@@ -803,10 +800,7 @@ TALER_JSON_get_error_hint (const json_t *json) | |||
803 | const json_t *jc; | 800 | const json_t *jc; |
804 | 801 | ||
805 | if (NULL == json) | 802 | if (NULL == json) |
806 | { | ||
807 | GNUNET_break_op (0); | ||
808 | return NULL; | 803 | return NULL; |
809 | } | ||
810 | jc = json_object_get (json, | 804 | jc = json_object_get (json, |
811 | "hint"); | 805 | "hint"); |
812 | if (NULL == jc) | 806 | if (NULL == jc) |