diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-06 22:08:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-06 22:08:35 +0200 |
commit | 12619719879aba243f7794c13c7ac43211386c49 (patch) | |
tree | 2c3e3295f0705664103c1af969552518575b2156 /src/auditor/taler-auditor.c | |
parent | 1c725c055e6facf3ba69e82909c9c494fdcf9a38 (diff) | |
download | exchange-12619719879aba243f7794c13c7ac43211386c49.tar.xz |
yet another TALER_amount_get_zero with missing rval check
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r-- | src/auditor/taler-auditor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index f9f03b0f7..e19ff7376 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -2186,8 +2186,9 @@ check_wire_out_cb (void *cls, wcc.method = json_string_value (method); wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT; wcc.date = date; - TALER_amount_get_zero (amount->currency, - &wcc.total_deposits); + GNUNET_assert (GNUNET_OK == + TALER_amount_get_zero (amount->currency, + &wcc.total_deposits)); if (GNUNET_OK != TALER_JSON_hash (wire, &wcc.h_wire)) |