From: SUTER Frederic Date: Tue, 13 Apr 2021 15:24:42 +0000 (+0200) Subject: this is no useless X-Git-Tag: v3.28~455^2~59 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4e2c0d07433f6bf078fcbf2218bf8827a320d91f this is no useless --- diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 4e0437ba3f..1a2015d636 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -168,7 +168,6 @@ class DiskModel; } namespace routing { class ClusterCreationArgs; -class LinkCreationArgs; class NetPoint; class NetZoneImpl; class RouteCreationArgs; diff --git a/src/kernel/routing/TorusZone.cpp b/src/kernel/routing/TorusZone.cpp index 1663e3198a..910f3536f1 100644 --- a/src/kernel/routing/TorusZone.cpp +++ b/src/kernel/routing/TorusZone.cpp @@ -25,7 +25,6 @@ void TorusZone::create_links_for_node(ClusterCreationArgs* cluster, int id, int int dim_product = 1; // Needed to calculate the next neighbor_id for (unsigned int j = 0; j < dimensions_.size(); j++) { - LinkCreationArgs link; int current_dimension = dimensions_[j]; // which dimension are we currently in? // we need to iterate over all dimensions and create all links there // The other node the link connects