diff --git a/eeschema/schematic_settings.cpp b/eeschema/schematic_settings.cpp index d778dd2ca2..68b3e01a68 100644 --- a/eeschema/schematic_settings.cpp +++ b/eeschema/schematic_settings.cpp @@ -67,8 +67,6 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin appSettings ? appSettings->m_Drawing.default_text_size : DEFAULT_TEXT_SIZE; int defaultPinSymbolSize = appSettings ? appSettings->m_Drawing.pin_symbol_size : DEFAULT_TEXT_SIZE / 2; - int defaultJunctionSize = - appSettings ? appSettings->m_Drawing.default_junction_size : DEFAULT_JUNCTION_DIAM; int defaultJunctionSizeChoice = appSettings ? appSettings->m_Drawing.junction_size_choice : 3; bool defaultIntersheetsRefShow = diff --git a/eeschema/tools/ee_inspection_tool.cpp b/eeschema/tools/ee_inspection_tool.cpp index 55f6946104..f5bc232d30 100644 --- a/eeschema/tools/ee_inspection_tool.cpp +++ b/eeschema/tools/ee_inspection_tool.cpp @@ -474,8 +474,8 @@ int EE_INSPECTION_TOOL::CheckSymbol( const TOOL_EVENT& aEvent ) bgcolor.GetAsString( wxC2S_HTML_SYNTAX ), fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) ); - for( const wxString& msg : messages ) - outmsg += msg; + for( const wxString& single_msg : messages ) + outmsg += single_msg; outmsg += "";