diff options
-rw-r--r-- | json.c | 1 | ||||
-rw-r--r-- | packet.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -557,6 +557,7 @@ static int json_internal_read_object(const char *cp, } break; } + __attribute__ ((fallthrough)); case post_array: if (isspace((unsigned char) *cp)) continue; @@ -1011,7 +1011,7 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) lexer->state = GROUND_STATE; break; } - // FALL-THRU!!!!! no break here + __attribute__ ((fallthrough)); #endif /* TSIP_ENABLE */ #ifdef NAVCOM_ENABLE case NAVCOM_LEADER_1: |