fix a minor compil warning

fix a typo in translatable string.
This commit is contained in:
jean-pierre charras 2023-09-07 16:29:36 +02:00
parent a9bfadd71a
commit 8aa408f0c9
2 changed files with 3 additions and 2 deletions

View File

@ -607,7 +607,7 @@ EASYEDAPRO::SYM_INFO SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector<nlohm
if( !globalNetname.empty() )
{
ksymbol->SetDescription( wxString::Format(
_( "Power symbol creates a global " wxS( "label with name '%s'" ) ),
_( "Power symbol creates a global label with name '%s'" ),
globalNetname ) );
}
}

View File

@ -2255,9 +2255,10 @@ int EDIT_TOOL::Duplicate( const TOOL_EVENT& aEvent )
static_cast<PAD*>( dupe_item )->SetNumber( padNumber );
}
}
else if( FOOTPRINT* parentFootprint = orig_item->GetParentFootprint() )
else if( /*FOOTPRINT* parentFootprint =*/ orig_item->GetParentFootprint() )
{
// No sub-footprint modifications allowed outside of footprint editor
// and parentFootprint is not (yet?) used
}
else
{