From: Martin Quinson Date: Thu, 10 Nov 2011 21:52:03 +0000 (+0100) Subject: that's a quite complicated no-op :) X-Git-Tag: exp_20120216~324 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/121bcb730f522d783d0483ec37f0de6410f2498a that's a quite complicated no-op :) --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 451428390b..0db7e19af7 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -932,22 +932,6 @@ static void routing_parse_cluster(void) free(link_backbone); } - XBT_DEBUG(" "); - - char *new_suffix = xbt_strdup(""); - - radical_elements = xbt_str_split(struct_cluster->suffix, "."); - xbt_dynar_foreach(radical_elements, iter, groups) { - if (strcmp(groups, "")) { - char *old_suffix = new_suffix; - new_suffix = bprintf("%s\\.%s", old_suffix, groups); - free(old_suffix); - } - } - - xbt_dynar_free(&radical_elements); - xbt_free(new_suffix); - XBT_DEBUG(""); sg_platf_new_AS_end(); XBT_DEBUG(" ");