]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/surf_routing_none.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make cluster routing a bit more flexible, to allow adding other kinds of clusters
[simgrid.git] / src / surf / surf_routing_none.cpp
index e62c778aa536bff911f4dc8518fcf7e06c937f5f..c17e02d854a90a7a39b6ecd0f7bc106bd9794223 100644 (file)
@@ -6,9 +6,7 @@
 
 #include "surf_routing_none.hpp"
 
-extern "C" {
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
-}
 
 AS_t model_none_create(void)
 {
@@ -63,6 +61,7 @@ void AsNone::parseBypassroute(sg_platf_route_cbarg_t /*e_route*/){
 AsNone::AsNone() {
   p_routingSons = xbt_dict_new_homogeneous(NULL);
   p_indexNetworkElm = xbt_dynar_new(sizeof(char*),NULL);
+  p_linkUpDownList = NULL;
 }
 
 AsNone::~AsNone() {