From eac43ae40148ef740cd3091e65a5c3962f28fa27 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 6 Mar 2014 12:56:54 +0100 Subject: [PATCH] Variable "duration" is never used. Remove it. --- teshsuite/msg/task_destroy_cancel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teshsuite/msg/task_destroy_cancel.c b/teshsuite/msg/task_destroy_cancel.c index e0cfa53fe6..c9b17021b7 100644 --- a/teshsuite/msg/task_destroy_cancel.c +++ b/teshsuite/msg/task_destroy_cancel.c @@ -77,7 +77,7 @@ int slave(int argc, char *argv[]) _XBT_GNUC_UNUSED int res; int id = -1; char mailbox[80]; - double duration, start, end; + double start, end; sprintf(mailbox, "jupi"); while (1) { @@ -99,7 +99,6 @@ int slave(int argc, char *argv[]) continue; } - duration = MSG_task_get_compute_duration(task); start = MSG_get_clock(); MSG_task_execute(task); end = MSG_get_clock(); -- 2.20.1