Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
seriously, me
[simgrid.git] / src / surf / surf_routing_none.cpp
index cfb4587..887e9ac 100644 (file)
@@ -17,15 +17,9 @@ AsNone::AsNone(const char*name)
 AsNone::~AsNone()
 {}
 
-xbt_dynar_t AsNone::getOneLinkRoutes() {
-  return NULL;
-}
-
 void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/,
-                                sg_platf_route_cbarg_t /*res*/, double *lat)
-{
-  *lat = 0.0;
-}
+                                sg_platf_route_cbarg_t /*res*/, double */*lat*/)
+{}
 
 void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
 {