Don't record null drivers.

Fixes https://gitlab.com/kicad/code/kicad/issues/7155
This commit is contained in:
Jeff Young 2021-01-17 16:18:37 +00:00
parent f3a6d2655e
commit 95ca5a0233
1 changed files with 2 additions and 1 deletions

View File

@ -2144,7 +2144,8 @@ int CONNECTION_GRAPH::RunERC()
if( seenDriverInstances.count( subgraph->m_driver ) )
continue;
seenDriverInstances.insert( subgraph->m_driver );
if( subgraph->m_driver )
seenDriverInstances.insert( subgraph->m_driver );
/**
* NOTE: