Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initialize variable, and make gcc happy.
[simgrid.git] / src / surf / surf_routing_cluster.c
index 2154448..f2d468a 100644 (file)
@@ -68,7 +68,7 @@ static void cluster_get_graph(xbt_graph_t graph, xbt_dict_t nodes,
   int table_size = xbt_dynar_length(rc->index_network_elm);
 
   sg_routing_edge_t src;
-  xbt_node_t current, previous, backboneNode,routerNode;
+  xbt_node_t current, previous, backboneNode = NULL, routerNode;
   s_surf_parsing_link_up_down_t info;
 
   xbt_assert(((as_cluster_t) rc)->router,"Malformed cluster");