commit 1c1d4e1ad664472391e2774b4f5b844addccd25a
parent 155a4bc11bab96316001325ff19af29eab9f6a71
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 27 Mar 2020 13:30:49 +0100
do not log uninitialized amount
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git 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;
}