summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 13:30:49 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 13:30:49 +0100
commit1c1d4e1ad664472391e2774b4f5b844addccd25a (patch)
treee3494f7755da1363e18034ec5aa5f2b6c1116a69
parent155a4bc11bab96316001325ff19af29eab9f6a71 (diff)
downloadexchange-1c1d4e1ad664472391e2774b4f5b844addccd25a.tar.gz
exchange-1c1d4e1ad664472391e2774b4f5b844addccd25a.tar.bz2
exchange-1c1d4e1ad664472391e2774b4f5b844addccd25a.zip
do not log uninitialized amount
-rw-r--r--src/exchange/taler-exchange-aggregator.c6
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;
}