Add missing break statements to prevent fallthrough

Otherwise all RC_ITEM objects are severity info in the log
This commit is contained in:
Ian McInerney 2020-09-21 12:18:46 +01:00
parent 7dfbb3cb18
commit e9aa9a759a
1 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,10 @@ wxString RC_ITEM::ShowReport( EDA_UNITS aUnits, SEVERITY aSeverity,
switch( aSeverity )
{
case RPT_SEVERITY_ERROR: severity = wxT( "Severity: error" );
case RPT_SEVERITY_WARNING: severity = wxT( "Severity: warning" );
case RPT_SEVERITY_ACTION: severity = wxT( "Severity: action" );
case RPT_SEVERITY_INFO: severity = wxT( "Severity: info" );
case RPT_SEVERITY_ERROR: severity = wxT( "Severity: error" ); break;
case RPT_SEVERITY_WARNING: severity = wxT( "Severity: warning" ); break;
case RPT_SEVERITY_ACTION: severity = wxT( "Severity: action" ); break;
case RPT_SEVERITY_INFO: severity = wxT( "Severity: info" ); break;
default: ;
};