COMMON: Add Switch Default Cases in JSON Parser

This commit is contained in:
D G Turner 2019-10-03 02:53:56 +01:00
parent d618cc983a
commit 9308f802f3

View file

@ -702,6 +702,8 @@ JSONValue::JSONValue(const JSONValue &source) {
break;
}
default:
// fallthrough intended
case JSONType_Null:
// Nothing to do.
break;
@ -1021,6 +1023,8 @@ String JSONValue::stringifyImpl(size_t const indentDepth) const {
String const indentStr1 = indent(indentDepth1);
switch (_type) {
default:
// fallthrough intended
case JSONType_Null:
ret_string = "null";
break;