mirror of
https://github.com/vale981/libblobpack
synced 2025-03-04 17:31:42 -05:00
Fix Implicit fallthrough errors.
This commit is contained in:
parent
9cc36022d6
commit
d6cc4f097f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue