Address warning found in Issue #9033

This commit is contained in:
Andreas Fabri 2025-08-21 13:37:08 +01:00
parent 3108022a21
commit 87b9d389d6
1 changed files with 0 additions and 6 deletions

View File

@ -590,8 +590,6 @@ loop()
{ {
CGAL_SMS_TRACE(0, "Collapsing edges..."); CGAL_SMS_TRACE(0, "Collapsing edges...");
CGAL_assertion_code(size_type non_collapsable_count = 0);
// Pops and processes each edge from the PQ // Pops and processes each edge from the PQ
std::optional<halfedge_descriptor> opt_h; std::optional<halfedge_descriptor> opt_h;
@ -658,8 +656,6 @@ loop()
} }
else else
{ {
CGAL_assertion_code(++non_collapsable_count);
m_visitor.OnNonCollapsable(profile); m_visitor.OnNonCollapsable(profile);
CGAL_SMS_TRACE(1, edge_to_string(*opt_h) << " NOT Collapsible (filter)" ); CGAL_SMS_TRACE(1, edge_to_string(*opt_h) << " NOT Collapsible (filter)" );
@ -679,8 +675,6 @@ loop()
} }
else else
{ {
CGAL_assertion_code(++non_collapsable_count);
m_visitor.OnNonCollapsable(profile); m_visitor.OnNonCollapsable(profile);
CGAL_SMS_TRACE(1, edge_to_string(*opt_h) << " NOT Collapsible (topology)" ); CGAL_SMS_TRACE(1, edge_to_string(*opt_h) << " NOT Collapsible (topology)" );