diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-19 20:56:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-19 20:56:53 +0100 |
commit | 52fe9d657bd54e622e8b87070c29ac0ffc27c575 (patch) | |
tree | 37d6b3cd84bff3e45b13b22b09d9ca938073c9fd /src/testing/test_exchange_api.c | |
parent | 7b5eb6137061128f987260ba681231e28ae260d5 (diff) |
-fix leaks and compiler warnings
Diffstat (limited to 'src/testing/test_exchange_api.c')
-rw-r--r-- | src/testing/test_exchange_api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index 72968c256..3e1df3841 100644 --- a/src/testing/test_exchange_api.c +++ b/src/testing/test_exchange_api.c @@ -902,6 +902,8 @@ run (void *cls, struct TALER_TESTING_Command reserve_open_close[(RESERVE_OPEN_CLOSE_ITERATIONS * RESERVE_OPEN_CLOSE_CHUNK) + 1]; + + (void) cls; for (unsigned int i = 0; i < RESERVE_OPEN_CLOSE_ITERATIONS; i++) @@ -980,6 +982,8 @@ int main (int argc, char *const *argv) { + (void) argc; + (void) argv; /* These environment variables get in the way... */ unsetenv ("XDG_DATA_HOME"); unsetenv ("XDG_CONFIG_HOME"); |