From: Arnaud Giersch Date: Mon, 7 Oct 2013 12:32:47 +0000 (+0200) Subject: Value stored to 'bandwidth' is never read. X-Git-Tag: v3_9_90~38^2~18 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/224851b3b82d9549cdf604bfdd579ad6e577cba6 Value stored to 'bandwidth' is never read. --- 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]);