Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Oops this variable is twice declared.
[simgrid.git] / src / surf / surf_routing.c
index b989efe..3f576f5 100644 (file)
@@ -3050,6 +3050,9 @@ static void routing_parse_Scluster(void)
   char *cluster_bb_lat = A_surfxml_cluster_bb_lat;
   char *host_id, *groups, *link_id = NULL;
   char *router_id, *link_router, *link_backbone;
+#ifdef HAVE_PCRE_LIB
+  char *route_src_dst;
+#endif
   unsigned int iter;
   int start, end, i;
   xbt_dynar_t radical_elements;
@@ -3215,7 +3218,6 @@ static void routing_parse_Scluster(void)
 
 #ifdef HAVE_PCRE_LIB
   char *new_suffix = bprintf("%s", "");
-  char *route_src_dst;
 
   radical_elements = xbt_str_split(cluster_suffix, ".");
   xbt_dynar_foreach(radical_elements, iter, groups) {