Replace wxASSERT with wxCHECK2.
This commit is contained in:
parent
31eb91e9e5
commit
193e8715f9
|
@ -709,10 +709,8 @@ void SCH_EDIT_FRAME::HardRedraw()
|
|||
|
||||
for( std::pair<const wxString, LIB_SYMBOL*>& libSymbol : screen->GetLibSymbols() )
|
||||
{
|
||||
wxASSERT( libSymbol.second );
|
||||
|
||||
if( libSymbol.second )
|
||||
libSymbol.second->ClearCaches();
|
||||
wxCHECK2( libSymbol.second, continue );
|
||||
libSymbol.second->ClearCaches();
|
||||
}
|
||||
|
||||
RecalculateConnections( LOCAL_CLEANUP );
|
||||
|
|
Loading…
Reference in New Issue