Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix memory leak in smpi/colls/allgather-SMP-NTS.
[simgrid.git] / src / simdag / sd_workstation.c
index 574c99c5867fed8dfeef5f2514e924723df7129b..14a0c70f535a55a9d220efe61fb27537f60b5054 100644 (file)
@@ -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]);