fix minor compil warnings.

This commit is contained in:
jean-pierre charras 2022-02-25 14:26:37 +01:00
parent bc51c89c90
commit a7b8a1446b
2 changed files with 3 additions and 3 deletions

View File

@ -546,7 +546,7 @@ int PCB_POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
{
if( grid.GetUseGrid() )
{
VECTOR2I gridPt = grid.BestSnapAnchor( pos, {}, { item } );
// VECTOR2I gridPt = grid.BestSnapAnchor( pos, {}, { item } );
VECTOR2I last = m_editedPoint->GetPosition();
VECTOR2I delta = pos - last;

View File

@ -218,8 +218,8 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
wxEmptyString );
button->Bind( wxEVT_COMMAND_HYPERLINK,
std::function<void( wxHyperlinkEvent& aEvent )>(
[frame]( wxHyperlinkEvent& aEvent )
std::function<void( wxHyperlinkEvent& aLocEvent )>(
[frame]( wxHyperlinkEvent& aLocEvent )
{
frame->ShowBoardSetupDialog( _( "Rules" ) );
} ) );