Clean up some warnings
This commit is contained in:
parent
992a553d43
commit
d5ceb8252e
|
@ -226,8 +226,8 @@ void EE_INSPECTION_TOOL::checkPart( LIB_PART* aPart )
|
||||||
bgcolor.GetAsString( wxC2S_HTML_SYNTAX ),
|
bgcolor.GetAsString( wxC2S_HTML_SYNTAX ),
|
||||||
fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) );
|
fgcolor.GetAsString( wxC2S_HTML_SYNTAX ) );
|
||||||
|
|
||||||
for( auto& msg : messages )
|
for( auto& msgPart : messages )
|
||||||
outmsg += msg;
|
outmsg += msgPart;
|
||||||
|
|
||||||
outmsg += "</body></html>";
|
outmsg += "</body></html>";
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,7 @@ void DIALOG_DRC_CONTROL::setDRCParameters()
|
||||||
|
|
||||||
void DIALOG_DRC_CONTROL::syncCheckboxes()
|
void DIALOG_DRC_CONTROL::syncCheckboxes()
|
||||||
{
|
{
|
||||||
m_showAll->SetValue( m_severities == DRC_SHOW_ERRORS | DRC_SHOW_WARNINGS | DRC_SHOW_INFOS );
|
m_showAll->SetValue( m_severities == ( DRC_SHOW_ERRORS | DRC_SHOW_WARNINGS | DRC_SHOW_INFOS ) );
|
||||||
m_showErrors->SetValue( m_severities & DRC_SHOW_ERRORS );
|
m_showErrors->SetValue( m_severities & DRC_SHOW_ERRORS );
|
||||||
m_showWarnings->SetValue( m_severities & DRC_SHOW_WARNINGS );
|
m_showWarnings->SetValue( m_severities & DRC_SHOW_WARNINGS );
|
||||||
m_showInfos->SetValue( m_severities & DRC_SHOW_INFOS );
|
m_showInfos->SetValue( m_severities & DRC_SHOW_INFOS );
|
||||||
|
|
Loading…
Reference in New Issue