From: schnorr Date: Mon, 13 Dec 2010 16:45:11 +0000 (+0000) Subject: [trace] fix, father is already defined, should not use currentContainer here X-Git-Tag: v3.6_beta2~723 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ed935dc6e47a480300874a79c2cbe96b4159b94c [trace] fix, father is already defined, should not use currentContainer here git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9200 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/instr/instr_routing.c b/src/instr/instr_routing.c index 5b81546a14..b6c5028ab8 100644 --- a/src/instr/instr_routing.c +++ b/src/instr/instr_routing.c @@ -167,12 +167,6 @@ static container_t newContainer (const char *name, e_container_types kind, conta new->name = xbt_strdup (name); // name of the container new->id = xbt_strdup (id_str); // id (or alias) of the container new->father = father; - // father of this container - if (new->father){ - new->father = xbt_dynar_get_ptr(currentContainer, xbt_dynar_length(currentContainer)-1); - }else{ - new->father = NULL; - } // level depends on level of father if (new->father){ new->level = new->father->level+1;