diff --git a/src/shared/json/json.cpp b/src/shared/json/json.cpp index 4f9c94ef376..759fea61f92 100644 --- a/src/shared/json/json.cpp +++ b/src/shared/json/json.cpp @@ -4806,7 +4806,7 @@ bool Value::isValid(const Base *b) const case JsonValue::Double: if (intValue) break; - // fall through + [[fallthrough]]; case JsonValue::String: case JsonValue::Array: case JsonValue::Object: @@ -4885,7 +4885,7 @@ uint32_t Value::valueToStore(const JsonValue &v, uint32_t offset) if (c != INT_MAX) return c; } - // fall through + [[fallthrough]]; case JsonValue::String: case JsonValue::Array: case JsonValue::Object: