From 224851b3b82d9549cdf604bfdd579ad6e577cba6 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 7 Oct 2013 14:32:47 +0200 Subject: [PATCH] Value stored to 'bandwidth' is never read. --- src/simdag/sd_workstation.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/simdag/sd_workstation.c b/src/simdag/sd_workstation.c index 574c99c586..14a0c70f53 100644 --- a/src/simdag/sd_workstation.c +++ b/src/simdag/sd_workstation.c @@ -364,8 +364,7 @@ double SD_route_get_current_bandwidth(SD_workstation_t src, links = SD_route_get_list(src, dst); nb_links = SD_route_get_size(src, dst); - bandwidth = min_bandwidth = -1.0; - + min_bandwidth = -1.0; for (i = 0; i < nb_links; i++) { bandwidth = SD_link_get_current_bandwidth(links[i]); -- 2.20.1