Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initilized vars.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 13 Oct 2010 14:14:47 +0000 (14:14 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 13 Oct 2010 14:14:47 +0000 (14:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8421 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_routing.c

index dbe7b07..f8b231b 100644 (file)
@@ -2768,7 +2768,7 @@ generic_new_extended_route(e_surf_routing_hierarchy_t hierarchy,
   route_extended_t e_route, new_e_route;
   route_t route;
   unsigned int cpt;
-  xbt_dynar_t links, links_id;
+  xbt_dynar_t links = NULL, links_id = NULL;
 
   new_e_route = xbt_new0(s_route_extended_t, 1);
   new_e_route->generic_route.link_list =