diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-18 13:20:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-18 13:20:43 +0200 |
commit | 30903b93866900e41bb4defa4d7b8ee49f3f3f99 (patch) | |
tree | a685970ab2930654da5578f1fece9567e91cffab /src/lib/exchange_api_common.c | |
parent | 6066ffcb9b07f9e2709d0382afa3fc05c52e21c7 (diff) | |
download | exchange-30903b93866900e41bb4defa4d7b8ee49f3f3f99.tar.xz |
reduce code duplication
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r-- | src/lib/exchange_api_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c index a9c6e16cf..72eb9ace5 100644 --- a/src/lib/exchange_api_common.c +++ b/src/lib/exchange_api_common.c @@ -42,7 +42,6 @@ TALER_EXCHANGE_verify_coin_history (const char *currency, struct TALER_Amount *total) { size_t len; - int add; struct TALER_Amount rtotal; if (NULL == history) @@ -64,6 +63,7 @@ TALER_EXCHANGE_verify_coin_history (const char *currency, &rtotal)); for (size_t off=0;off<len;off++) { + int add; json_t *transaction; struct TALER_Amount amount; const char *type; |