From 0c52eac8f871ae7b5af0d5f65ce946d2bc4b37d5 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 12 Feb 2013 16:08:08 +0100 Subject: [PATCH] Initialize variable, and make gcc happy. --- src/surf/surf_routing_cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/surf_routing_cluster.c b/src/surf/surf_routing_cluster.c index 215444828f..f2d468a643 100644 --- a/src/surf/surf_routing_cluster.c +++ b/src/surf/surf_routing_cluster.c @@ -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"); -- 2.20.1