mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 07:05:38 +08:00
Fix missing enumeration value and break statement in switch
This commit is contained in:
@@ -254,8 +254,14 @@ namespace BlackMisc
|
|||||||
break;
|
break;
|
||||||
case SeverityWarning:
|
case SeverityWarning:
|
||||||
html = "<font color=\"yellow\">";
|
html = "<font color=\"yellow\">";
|
||||||
|
break;
|
||||||
case SeverityError:
|
case SeverityError:
|
||||||
html = "<font color=\"red\">";
|
html = "<font color=\"red\">";
|
||||||
|
break;
|
||||||
|
case SeverityDebug:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
html.append(this->getMessage());
|
html.append(this->getMessage());
|
||||||
if (this->getSeverity() == SeverityInfo) return html;
|
if (this->getSeverity() == SeverityInfo) return html;
|
||||||
|
|||||||
Reference in New Issue
Block a user