summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-18 11:25:38 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-18 11:25:38 +0200
commit6066ffcb9b07f9e2709d0382afa3fc05c52e21c7 (patch)
tree6f08cc9e4b38aea696b52755afc0565dd1f2c4a9 /src/exchange/taler-exchange-aggregator.c
parentb3cbe01079ea1044f8d1f8bf47e995443efe8390 (diff)
downloadexchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.gz
exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.bz2
exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.zip
dead code elimination
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index fda0ad509..9b1c7e3ee 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -620,19 +620,19 @@ refund_by_coin_cb (void *cls,
const struct TALER_Amount *amount_with_fee,
const struct TALER_Amount *refund_fee)
{
- struct AggregationUnit *au = cls;
+ struct AggregationUnit *aux = cls;
/* TODO: potential optimization: include these conditions
in the SELECT! */
if (0 != GNUNET_memcmp (merchant_pub,
- &au->merchant_pub))
+ &aux->merchant_pub))
return GNUNET_OK; /* different merchant */
if (0 != GNUNET_memcmp (h_contract,
- au->h_contract))
+ aux->h_contract))
return GNUNET_OK; /* different contract */
if (GNUNET_OK !=
- TALER_amount_subtract (&au->total_amount,
- &au->total_amount,
+ TALER_amount_subtract (&aux->total_amount,
+ &aux->total_amount,
amount_with_fee))
{
GNUNET_break (0);