mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
m_root is not guaranteed to be non-null.
This commit is contained in:
parent
05e9772d54
commit
967bf1d0a1
@ -761,7 +761,8 @@ SCH_SHEET_LIST::SCH_SHEET_LIST( SCH_SHEET* aSheet )
|
||||
|
||||
void SCH_SHEET_LIST::BuildSheetList( SCH_SHEET* aSheet, bool aCheckIntegrity )
|
||||
{
|
||||
wxCHECK_RET( aSheet != nullptr, wxT( "Cannot build sheet list from undefined sheet." ) );
|
||||
if( !aSheet )
|
||||
return;
|
||||
|
||||
std::vector<SCH_SHEET*> badSheets;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user