X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d938be0afd2015d43ba18c58d55517410f800d1..e5b9aba8d360583bd56a42dfa5d49f85f1917616:/src/surf/surf_routing.c diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 6798a209d1..d3ec49e1c9 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -1861,7 +1861,7 @@ static void generic_free_extended_route(route_extended_t e_route) { static routing_component_t generic_as_exist(routing_component_t find_from, routing_component_t to_find) { xbt_dict_cursor_t cursor = NULL; char *key; - int found; + int found=0; routing_component_t elem; xbt_dict_foreach(find_from->routing_sons, cursor, key, elem) { if( to_find == elem || generic_as_exist(elem,to_find) ){