summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_batch.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 14:05:59 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 14:05:59 +0100
commitd923f29144a1fb0bdf647e597659f6699254e40a (patch)
tree003f5629e2fe6fea2c4462ad546f39a670f64e3e /src/testing/testing_api_cmd_batch.c
parent69e50079b4412624a78002853535a6e7a306cc29 (diff)
downloadexchange-d923f29144a1fb0bdf647e597659f6699254e40a.tar.gz
exchange-d923f29144a1fb0bdf647e597659f6699254e40a.tar.bz2
exchange-d923f29144a1fb0bdf647e597659f6699254e40a.zip
removing warnings
Diffstat (limited to 'src/testing/testing_api_cmd_batch.c')
-rw-r--r--src/testing/testing_api_cmd_batch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_batch.c b/src/testing/testing_api_cmd_batch.c
index 74ff0247b..48ccf55f1 100644
--- a/src/testing/testing_api_cmd_batch.c
+++ b/src/testing/testing_api_cmd_batch.c
@@ -72,7 +72,7 @@ batch_run (void *cls,
}
bs->batch[bs->batch_ip].start_time
= bs->batch[bs->batch_ip].last_req_time
- = GNUNET_TIME_absolute_get ();
+ = GNUNET_TIME_absolute_get ();
bs->batch[bs->batch_ip].num_tries = 1;
bs->batch[bs->batch_ip].run (bs->batch[bs->batch_ip].cls,
&bs->batch[bs->batch_ip],
@@ -93,6 +93,7 @@ batch_cleanup (void *cls,
{
struct BatchState *bs = cls;
+ (void) cmd;
for (unsigned int i = 0;
NULL != bs->batch[i].label;
i++)