BOARD_NETLIST_UPDATER: add missing count of warnings
From master branch Fixes #14290 https://gitlab.com/kicad/code/kicad/issues/14290
This commit is contained in:
parent
e5087ca3db
commit
94fd0df2e2
|
@ -419,7 +419,7 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( FOOTPRINT* aFootprint
|
|||
// Create a copy only if the footprint has not been added during this update
|
||||
FOOTPRINT* copy = nullptr;
|
||||
|
||||
if( !m_commit.GetStatus( aFootprint ) )
|
||||
if( !m_commit.GetStatus( aFootprint ) )
|
||||
{
|
||||
copy = static_cast<FOOTPRINT*>( aFootprint->Clone() );
|
||||
copy->SetParentGroup( nullptr );
|
||||
|
@ -487,6 +487,7 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( FOOTPRINT* aFootprint
|
|||
aFootprint->GetReference(),
|
||||
pad->GetNumber() );
|
||||
m_reporter->Report( msg, RPT_SEVERITY_WARNING);
|
||||
++m_warningCount;
|
||||
}
|
||||
|
||||
if( !m_isDryRun )
|
||||
|
|
Loading…
Reference in New Issue