Fix Implicit fallthrough errors.

This commit is contained in:
vale981 2018-06-27 23:01:20 +02:00 committed by GitHub
parent 9cc36022d6
commit d6cc4f097f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,6 +200,7 @@ static int Buffer_EscapeStringUnvalidated (JSONObjectEncoder *enc, const char *i
if (enc->encodeHTMLChars)
{
// Fall through to \u00XX case below.
__attribute__ ((fallthrough));
}
else
{
@ -408,6 +409,7 @@ static int Buffer_EscapeStringValidated (JSOBJ obj, JSONObjectEncoder *enc, cons
if (enc->encodeHTMLChars)
{
// Fall through to \u00XX case 30 below.
__attribute__ ((fallthrough));
}
else
{