diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2018-06-15 12:46:44 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2018-06-15 12:46:44 -0400 |
commit | bdf047fefaf6d158ebd628381471a3047c982015 (patch) | |
tree | c0cbf51b82652c6e53909cc064513cae0ae59e79 /packet.c | |
parent | 032f7bbf936b6f904e89133ea2e707f4b94a5644 (diff) | |
download | gpsd-bdf047fefaf6d158ebd628381471a3047c982015.tar.gz |
Suppress GCC 7.3.0 fallthrough warnings in intentional cases.
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |