From cc35cb4ea7a6e0306a685164f152b5fdd1edfd4c Mon Sep 17 00:00:00 2001 From: John Abraham Date: Sat, 14 May 2011 04:44:48 -0400 Subject: [PATCH] =?UTF-8?q?Bug=201158=20-=20opt=20build=20olsr=20variable?= =?UTF-8?q?=20=E2=80=98now=E2=80=99=20set=20but=20not=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/olsr/model/olsr-routing-protocol.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/olsr/model/olsr-routing-protocol.cc b/src/olsr/model/olsr-routing-protocol.cc index 5603a3ece..c7f695ebf 100644 --- a/src/olsr/model/olsr-routing-protocol.cc +++ b/src/olsr/model/olsr-routing-protocol.cc @@ -3314,9 +3314,8 @@ RoutingProtocol::IsMyOwnAddress (const Ipv4Address & a) const void RoutingProtocol::Dump (void) { - Time now = Simulator::Now (); - #ifdef NS3_LOG_ENABLE + Time now = Simulator::Now (); NS_LOG_DEBUG ("Dumping for node with main address " << m_mainAddress); NS_LOG_DEBUG (" Neighbor set"); for (NeighborSet::const_iterator iter = m_state.GetNeighbors ().begin ();