internet:(fixes #1205) Remove if condition preventing the evaluation of an ASSERT

This commit is contained in:
Shashwat Patni
2025-03-27 23:11:05 +00:00
committed by Tommaso Pecorella
parent 733496ce83
commit 5650773b6d

View File

@@ -129,11 +129,9 @@ SPFVertex::~SPFVertex()
uint32_t orgCount = (*piter)->m_children.size();
(*piter)->m_children.remove(this);
uint32_t newCount = (*piter)->m_children.size();
if (orgCount > newCount)
{
NS_ASSERT_MSG(orgCount > newCount,
"Unable to find the current vertex from its parents --- impossible!");
}
NS_ASSERT_MSG(orgCount > newCount,
"Unable to find the current vertex from its parents --- impossible!");
}
// delete children