diff options
Diffstat (limited to 'src/cJSON.c')
-rw-r--r-- | src/cJSON.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cJSON.c b/src/cJSON.c index 9e53012e..64a54c72 100644 --- a/src/cJSON.c +++ b/src/cJSON.c @@ -352,12 +352,15 @@ parse_string (cJSON * item, const char *str, const char **ep) case 4: *--ptr2 = ((uc | 0x80) & 0xBF); uc >>= 6; + /*FALLTHRU*/ case 3: *--ptr2 = ((uc | 0x80) & 0xBF); uc >>= 6; + /*FALLTHRU*/ case 2: *--ptr2 = ((uc | 0x80) & 0xBF); uc >>= 6; + /*FALLTHRU*/ case 1: *--ptr2 = (uc | firstByteMark[len]); } |