Don't record null drivers.
Fixes https://gitlab.com/kicad/code/kicad/issues/7155
This commit is contained in:
parent
f3a6d2655e
commit
95ca5a0233
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue