Remove unused and shadowed variables

This commit is contained in:
Seth Hillbrand 2021-09-20 11:45:27 -07:00
parent 0f10748226
commit c67d560538
2 changed files with 2 additions and 4 deletions

View File

@ -67,8 +67,6 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin
appSettings ? appSettings->m_Drawing.default_text_size : DEFAULT_TEXT_SIZE; appSettings ? appSettings->m_Drawing.default_text_size : DEFAULT_TEXT_SIZE;
int defaultPinSymbolSize = int defaultPinSymbolSize =
appSettings ? appSettings->m_Drawing.pin_symbol_size : DEFAULT_TEXT_SIZE / 2; 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 = int defaultJunctionSizeChoice =
appSettings ? appSettings->m_Drawing.junction_size_choice : 3; appSettings ? appSettings->m_Drawing.junction_size_choice : 3;
bool defaultIntersheetsRefShow = bool defaultIntersheetsRefShow =

View File

@ -474,8 +474,8 @@ int EE_INSPECTION_TOOL::CheckSymbol( const TOOL_EVENT& aEvent )
bgcolor.GetAsString( wxC2S_HTML_SYNTAX ), bgcolor.GetAsString( wxC2S_HTML_SYNTAX ),
fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) ); fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) );
for( const wxString& msg : messages ) for( const wxString& single_msg : messages )
outmsg += msg; outmsg += single_msg;
outmsg += "</body></html>"; outmsg += "</body></html>";