Remove noisy assert.

(cherry picked from commit b3b5f6963f)
This commit is contained in:
Jeff Young
2025-07-08 08:44:22 +01:00
parent 05458e12b4
commit ff7c50c739
-2
View File
@@ -2001,8 +2001,6 @@ NETINFO_ITEM* BOARD::FindNet( int aNetcode ) const
// zero is reserved for "no connection" and is not actually a net.
// nullptr is returned for non valid netcodes
wxASSERT( m_NetInfo.GetNetCount() > 0 );
if( aNetcode == NETINFO_LIST::UNCONNECTED && m_NetInfo.GetNetCount() == 0 )
return NETINFO_LIST::OrphanedItem();
else