From 1c1d4e1ad664472391e2774b4f5b844addccd25a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Mar 2020 13:30:49 +0100 Subject: [PATCH] do not log uninitialized amount --- src/exchange/taler-exchange-aggregator.c | 6 ++---- 1 file 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; }