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 /json.c | |
parent | 032f7bbf936b6f904e89133ea2e707f4b94a5644 (diff) | |
download | gpsd-bdf047fefaf6d158ebd628381471a3047c982015.tar.gz |
Suppress GCC 7.3.0 fallthrough warnings in intentional cases.
Diffstat (limited to 'json.c')
-rw-r--r-- | json.c | 1 |
1 files changed, 1 insertions, 0 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; |