Make Coverity happy.
This commit is contained in:
parent
916710ce19
commit
75b5bcf46d
|
@ -2239,7 +2239,7 @@ bool CONNECTION_GRAPH::ercCheckMultipleDrivers( const CONNECTION_SUBGRAPH* aSubg
|
||||||
* across this in 7.0 development (or later), feel free to delete.
|
* across this in 7.0 development (or later), feel free to delete.
|
||||||
*/
|
*/
|
||||||
#if 0
|
#if 0
|
||||||
if( aSubgraph->m_second_driver )
|
if( aSubgraph && aSubgraph->m_second_driver )
|
||||||
{
|
{
|
||||||
SCH_ITEM* primary = aSubgraph->m_first_driver;
|
SCH_ITEM* primary = aSubgraph->m_first_driver;
|
||||||
SCH_ITEM* secondary = aSubgraph->m_second_driver;
|
SCH_ITEM* secondary = aSubgraph->m_second_driver;
|
||||||
|
@ -2265,7 +2265,7 @@ bool CONNECTION_GRAPH::ercCheckMultipleDrivers( const CONNECTION_SUBGRAPH* aSubg
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if( aSubgraph->m_multiple_drivers )
|
if( aSubgraph && aSubgraph->m_multiple_drivers )
|
||||||
{
|
{
|
||||||
for( SCH_ITEM* driver : aSubgraph->m_drivers )
|
for( SCH_ITEM* driver : aSubgraph->m_drivers )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue