Fix missing "else".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14831
This commit is contained in:
parent
570978fa7f
commit
8820df2187
|
@ -360,8 +360,7 @@ int LIB_SYMBOL::Compare( const LIB_SYMBOL& aRhs, int aCompareFlags, REPORTER* aR
|
|||
if( !aReporter )
|
||||
return retv;
|
||||
}
|
||||
|
||||
if( int tmp2 = aPinItem->compare( *bPin, aCompareFlags ) )
|
||||
else if( int tmp2 = aPinItem->compare( *bPin, aCompareFlags ) )
|
||||
{
|
||||
retv = tmp2;
|
||||
REPORT( wxString::Format( _( "Pin %s differs." ), aPin->GetNumber() ) );
|
||||
|
|
Loading…
Reference in New Issue