diff --git a/eeschema/sch_commit.cpp b/eeschema/sch_commit.cpp index 05dcae1ac8..db26936321 100644 --- a/eeschema/sch_commit.cpp +++ b/eeschema/sch_commit.cpp @@ -222,7 +222,7 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags ) } ); } - auto updateConnectivityFlag = [&, this]() + auto updateConnectivityFlag = [&]() { if( schItem->IsConnectable() ) { diff --git a/eeschema/symbol_editor/symbol_editor.cpp b/eeschema/symbol_editor/symbol_editor.cpp index a0c14c3b03..ee02193bd6 100644 --- a/eeschema/symbol_editor/symbol_editor.cpp +++ b/eeschema/symbol_editor/symbol_editor.cpp @@ -1282,7 +1282,7 @@ void SYMBOL_EDIT_FRAME::UpdateSymbolMsgPanelInfo() else if( m_bodyStyle == LIB_ITEM::BODY_STYLE::BASE ) msg = _( "Standard" ); else - wxT( "?" ); + msg = wxT( "?" ); AppendMsgPanel( _( "Body" ), msg, 8 );