From: cherierm Date: Mon, 7 Jan 2008 14:37:23 +0000 (+0000) Subject: Ansi declaration of the variables (at the beginning of the block). X-Git-Tag: v3.3~692 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bb38b738b6810c3e4c0be80ffc5de5eb25e62435?hp=85b2987dcff719252ce8fcece5b27e51ef9b4d5a Ansi declaration of the variables (at the beginning of the block). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5162 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 07773ece91..5c6aa3885a 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -851,11 +851,12 @@ static void convert_route_multi_to_routes(void) unsigned int cpt, cpt2, cursor; char *src_host_name, *dst_host_name, *key, *src, *dst, *val, *key_w, *data_w; const char* sep="#"; + xbt_dict_t set; xbt_dynar_t src_names = NULL, dst_names = NULL, links; if (!route_multi_elements) return; - xbt_dict_t set = cpu_set; + set = cpu_set; DEBUG1("%d", xbt_dict_length(workstation_set)); if (workstation_set != NULL && xbt_dict_length(workstation_set) > 0) set = workstation_set;