diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-27 13:30:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-27 13:30:49 +0100 |
commit | 1c1d4e1ad664472391e2774b4f5b844addccd25a (patch) | |
tree | e3494f7755da1363e18034ec5aa5f2b6c1116a69 | |
parent | 155a4bc11bab96316001325ff19af29eab9f6a71 (diff) | |
download | exchange-1c1d4e1ad664472391e2774b4f5b844addccd25a.tar.xz |
do not log uninitialized amount
-rw-r--r-- | src/exchange/taler-exchange-aggregator.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index c44d0f70c..0ec3b16a1 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c @@ -525,7 +525,6 @@ aggregate_cb (void *cls, struct AggregationUnit *au = cls; struct TALER_Amount old; enum GNUNET_DB_QueryStatus qs; - struct TALER_Amount delta; /* NOTE: potential optimization: use custom SQL API to not fetch these: */ @@ -632,9 +631,8 @@ aggregate_cb (void *cls, return qs; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Aggregator marked deposit %llu over %s as DONE\n", - (unsigned long long) row_id, - TALER_amount2s (&delta)); + "Aggregator marked deposit %llu as DONE\n", + (unsigned long long) row_id); return GNUNET_DB_STATUS_SUCCESS_ONE_RESULT; } |