table/face: fix unused variable warnings in NameTree and NDNLP Slicer

refs #2290, #2287

Change-Id: I40f80f4c8a9fe830edafeada2bbd0b881194d0a3
This commit is contained in:
Junxiao Shi authored and Junxiao Shi committed 2014-12-15 07:33:22 -08:00
1 parent 584a569a26
commit ac7b437cdb
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -339,7 +339,7 @@ NameTree::eraseEntryIfEmpty(shared_ptr<name_tree::Entry> entry)
}
}
BOOST_ASSERT(isFound == true);
BOOST_VERIFY(isFound == true);
}
// remove this Entry and its Name Tree Node
@@ -625,7 +625,7 @@ NameTree::const_iterator::operator++()
node = node->m_next;
}
}
BOOST_ASSERT(isFound == false);
BOOST_VERIFY(isFound == false);
// Reach to the end()
m_entry = m_nameTree.m_end;
return *this;
@@ -702,7 +702,7 @@ NameTree::const_iterator::operator++()
}
}
BOOST_ASSERT(isFound == true);
BOOST_VERIFY(isFound == true);
if (i < parentChildrenList.size() - 1) // m_entry not the last child
{
m_entry = parentChildrenList[i + 1];