From 121bcb730f522d783d0483ec37f0de6410f2498a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 10 Nov 2011 22:52:03 +0100 Subject: [PATCH] that's a quite complicated no-op :) --- src/surf/surf_routing.c | 16 ---------------- 1 file changed, 16 deletions(-) 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(" "); -- 2.20.1