Remove noisy assert.

This commit is contained in:
Jeff Young
2025-06-30 22:46:47 -06:00
parent 5df676c1d0
commit b3b5f6963f
-2
View File
@@ -2073,8 +2073,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