[Coverity] Structurally dead code (UNREACHABLE)

This commit is contained in:
Peter D. Barnes, Jr.
2013-05-21 15:11:10 -07:00
parent 5920bdc24d
commit 8ffa0f7c30

View File

@@ -225,7 +225,7 @@ bool
RreqTable::MarkLinkAsUnidirectional (Ipv4Address neighbor, Time blacklistTimeout)
{
NS_LOG_LOGIC ("Add neighbor address in blacklist " << m_blackList.size ());
for (std::vector<BlackList>::iterator i = m_blackList.begin (); i != m_blackList.end (); i++)
for (std::vector<BlackList>::iterator i = m_blackList.begin (); i != m_blackList.end (); ++i)
{
if (i->m_neighborAddress == neighbor)
{