View | Details | Raw Unified | Return to bug 1160
Collapse All | Expand All

(-)a/src/mesh/model/dot11s/peer-management-protocol.cc (+3 lines)
 Lines 385-390    Link Here 
385
  NS_ASSERT (iface != m_peerLinks.end ());
385
  NS_ASSERT (iface != m_peerLinks.end ());
386
  PeerManagementProtocolMacMap::const_iterator plugin = m_plugins.find (interface);
386
  PeerManagementProtocolMacMap::const_iterator plugin = m_plugins.find (interface);
387
  NS_ASSERT (plugin != m_plugins.end ());
387
  NS_ASSERT (plugin != m_plugins.end ());
388
  // cast plugin to void, to suppress 'plugin' set but not used, compiler warning
389
  // in optimized builds
390
  (void) plugin;
388
  std::map<uint32_t, Time>::const_iterator lastBeacon = m_lastBeacon.find (interface);
391
  std::map<uint32_t, Time>::const_iterator lastBeacon = m_lastBeacon.find (interface);
389
  std::map<uint32_t, Time>::const_iterator beaconInterval = m_beaconInterval.find (interface);
392
  std::map<uint32_t, Time>::const_iterator beaconInterval = m_beaconInterval.find (interface);
390
  if ((lastBeacon == m_lastBeacon.end ()) || (beaconInterval == m_beaconInterval.end ()))
393
  if ((lastBeacon == m_lastBeacon.end ()) || (beaconInterval == m_beaconInterval.end ()))

Return to bug 1160