From: Martin Quinson Date: Wed, 23 Mar 2016 09:27:46 +0000 (+0100) Subject: ns3: typo and useless check X-Git-Tag: v3_13~327^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/abd38c676cbc73b3aea45563b4aedb4d170c5570 ns3: typo and useless check --- diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index f13ca42df8..99ca278708 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -189,9 +189,8 @@ static void create_ns3_topology(void) //get the onelinks from the parsed platform xbt_dynar_t onelink_routes = routing_platf->getOneLinkRoutes(); - if (!onelink_routes) - xbt_die("There is no routes!"); - XBT_DEBUG("Threr is %ld one-link routes",onelink_routes->used); + + XBT_DEBUG("There is %ld one-link routes",onelink_routes->used); //save them in trace file simgrid::surf::Onelink *onelink; unsigned int iter;