Remove duplicate semicolons

This commit is contained in:
Alexander Krotov
2018-11-07 16:54:53 +03:00
parent 48157d84b1
commit c8a500f5a8
18 changed files with 22 additions and 22 deletions

View File

@@ -78,7 +78,7 @@ main (int argc, char *argv[])
p2p.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer dAdB = p2p.Install (nAnB);
NetDeviceContainer dBdC = p2p.Install (nBnC);;
NetDeviceContainer dBdC = p2p.Install (nBnC);
Ptr<CsmaNetDevice> deviceA = CreateObject<CsmaNetDevice> ();
deviceA->SetAddress (Mac48Address::Allocate ());

View File

@@ -64,7 +64,7 @@ main (int argc, char *argv[])
p2p.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer dAdB = p2p.Install (nAnB);
NetDeviceContainer dBdC = p2p.Install (nBnC);;
NetDeviceContainer dBdC = p2p.Install (nBnC);
Ptr<CsmaNetDevice> deviceA = CreateObject<CsmaNetDevice> ();
deviceA->SetAddress (Mac48Address::Allocate ());

View File

@@ -64,7 +64,7 @@ main (int argc, char *argv[])
p2p.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer dAdB = p2p.Install (nAnB);
NetDeviceContainer dBdC = p2p.Install (nBnC);;
NetDeviceContainer dBdC = p2p.Install (nBnC);
Ptr<CsmaNetDevice> deviceA = CreateObject<CsmaNetDevice> ();
deviceA->SetAddress (Mac48Address::Allocate ());

View File

@@ -213,7 +213,7 @@ HybridBuildingsPropagationLossModel::GetLoss (Ptr<MobilityModel> a, Ptr<Mobility
if (a1->GetBuilding () == b1->GetBuilding ())
{
// nodes are in same building -> indoor communication ITU-R P.1238
loss = ItuR1238 (a, b) + InternalWallsLoss (a1, b1);;
loss = ItuR1238 (a, b) + InternalWallsLoss (a1, b1);
NS_LOG_INFO (this << " I-I (same building) ITUR1238 : " << loss);
}

View File

@@ -96,7 +96,7 @@ OhBuildingsPropagationLossModel::GetLoss (Ptr<MobilityModel> a, Ptr<MobilityMode
if (a1->GetBuilding () == b1->GetBuilding ())
{
// nodes are in same building -> indoor communication ITU-R P.1238
loss = m_okumuraHata->GetLoss (a, b) + InternalWallsLoss (a1, b1);;
loss = m_okumuraHata->GetLoss (a, b) + InternalWallsLoss (a1, b1);
NS_LOG_INFO (this << " I-I (same building)" << loss);
}

View File

@@ -75,9 +75,9 @@ public:
virtual Time GetDelayLeft (const EventId &id) const;
virtual Time GetMaximumSimulationTime (void) const;
virtual void SetScheduler (ObjectFactory schedulerFactory);
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetContext (void) const;
virtual uint64_t GetEventCount (void) const;;
virtual uint64_t GetEventCount (void) const;
private:
virtual void DoDispose (void);

View File

@@ -105,9 +105,9 @@ public:
virtual Time GetDelayLeft (const EventId &id) const;
virtual Time GetMaximumSimulationTime (void) const;
virtual void SetScheduler (ObjectFactory schedulerFactory);
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetContext (void) const;
virtual uint64_t GetEventCount (void) const;;
virtual uint64_t GetEventCount (void) const;
/** \copydoc ScheduleWithContext(uint32_t,const Time&,EventImpl*) */
void ScheduleRealtimeWithContext (uint32_t context, const Time &delay, EventImpl *event);

View File

@@ -208,7 +208,7 @@ SystemConditionPrivate::TimedWait (uint64_t ns)
SystemCondition::SystemCondition()
: m_priv (new SystemConditionPrivate ())
{
NS_LOG_FUNCTION (this);;
NS_LOG_FUNCTION (this);
}
SystemCondition::~SystemCondition ()

View File

@@ -557,7 +557,7 @@ AttributeTestCase<UintegerValue>::DoRun (void)
// value.
//
ok = CheckGetCodePaths (p, "TestUint8", "1", UintegerValue (1));
NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly by default value");;
NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly by default value");
//
// Set the Attribute to zero.

View File

@@ -910,7 +910,7 @@ GlobalRouter::ProcessBridgedBroadcastLink (Ptr<NetDevice> nd, GlobalRoutingLSA *
NS_LOG_WARN ("Warning, interface has multiple IP addresses; using only the primary one");
}
Ipv4Address addrLocal = ipv4Local->GetAddress (interfaceLocal, 0).GetLocal ();
Ipv4Mask maskLocal = ipv4Local->GetAddress (interfaceLocal, 0).GetMask ();;
Ipv4Mask maskLocal = ipv4Local->GetAddress (interfaceLocal, 0).GetMask ();
NS_LOG_LOGIC ("Working with local address " << addrLocal);
uint16_t metricLocal = ipv4Local->GetMetric (interfaceLocal);

View File

@@ -73,13 +73,13 @@ public:
* \brief Neighbor Discovery node constants: max unicast solicitations.
* \returns The max unicast solicitations number.
*/
uint8_t GetMaxUnicastSolicit () const;;
uint8_t GetMaxUnicastSolicit () const;
/**
* \brief Neighbor Discovery node constants: reachable time.
* \returns The Reachable time for an Neighbor cache entry.
*/
Time GetReachableTime () const;;
Time GetReachableTime () const;
/**
* \brief Neighbor Discovery node constants: retransmission timer.

View File

@@ -357,7 +357,7 @@ uint32_t
Ipv4StaticRouting::GetNRoutes (void) const
{
NS_LOG_FUNCTION (this);
return m_networkRoutes.size ();;
return m_networkRoutes.size ();
}
Ipv4RoutingTableEntry

View File

@@ -281,7 +281,7 @@ void NdiscCache::Entry::FunctionRetransmitTimeout ()
/* determine source address */
if (m_ipv6Address.IsLinkLocal ())
{
addr = m_ndCache->GetInterface ()->GetLinkLocalAddress ().GetAddress ();;
addr = m_ndCache->GetInterface ()->GetLinkLocalAddress ().GetAddress ();
}
else if (!m_ipv6Address.IsAny ())
{

View File

@@ -54,7 +54,7 @@ LteTestRrc::LteTestRrc ()
m_rxPdus = 0;
m_rxBytes = 0;
m_txLastTime = Time (0);
m_rxLastTime = Time (0);;
m_rxLastTime = Time (0);
m_pdcpSapUser = new LtePdcpSpecificLtePdcpSapUser<LteTestRrc> (this);
// Simulator::ScheduleNow (&LteTestRrc::Start, this);

View File

@@ -126,7 +126,7 @@ public:
virtual void SetScheduler (ObjectFactory schedulerFactory);
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetContext (void) const;
virtual uint64_t GetEventCount (void) const;;
virtual uint64_t GetEventCount (void) const;
private:
virtual void DoDispose (void);

View File

@@ -71,7 +71,7 @@ public:
virtual void SetScheduler (ObjectFactory schedulerFactory);
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetContext (void) const;
virtual uint64_t GetEventCount (void) const;;
virtual uint64_t GetEventCount (void) const;
/**
* \return singleton instance

View File

@@ -910,7 +910,7 @@ PacketTagListTest::DoRun (void)
{ // Peek
std::cout << GetName () << "check Peek (missing tag) returns false"
<< std::endl;;
<< std::endl;
ATestTag<10> t10;
NS_TEST_EXPECT_MSG_EQ (ref.Peek (t10), false, "missing tag");
}

View File

@@ -69,9 +69,9 @@ public:
virtual Time GetDelayLeft (const EventId &id) const;
virtual Time GetMaximumSimulationTime (void) const;
virtual void SetScheduler (ObjectFactory schedulerFactory);
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetSystemId (void) const;
virtual uint32_t GetContext (void) const;
virtual uint64_t GetEventCount (void) const;;
virtual uint64_t GetEventCount (void) const;
/// calls Run() in the wrapped simulator
void RunRealSimulator (void);