Fix warnings.

This commit is contained in:
Alex Shvartzkop 2024-05-03 00:09:21 +03:00
parent 17175fe71e
commit 451cb7a194
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags )
} ); } );
} }
auto updateConnectivityFlag = [&, this]() auto updateConnectivityFlag = [&]()
{ {
if( schItem->IsConnectable() ) if( schItem->IsConnectable() )
{ {

View File

@ -1282,7 +1282,7 @@ void SYMBOL_EDIT_FRAME::UpdateSymbolMsgPanelInfo()
else if( m_bodyStyle == LIB_ITEM::BODY_STYLE::BASE ) else if( m_bodyStyle == LIB_ITEM::BODY_STYLE::BASE )
msg = _( "Standard" ); msg = _( "Standard" );
else else
wxT( "?" ); msg = wxT( "?" );
AppendMsgPanel( _( "Body" ), msg, 8 ); AppendMsgPanel( _( "Body" ), msg, 8 );