From bdf047fefaf6d158ebd628381471a3047c982015 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 15 Jun 2018 12:46:44 -0400 Subject: Suppress GCC 7.3.0 fallthrough warnings in intentional cases. --- json.c | 1 + 1 file changed, 1 insertion(+) (limited to 'json.c') diff --git a/json.c b/json.c index 81a3bac5..c97fd161 100644 --- a/json.c +++ b/json.c @@ -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; -- cgit v1.2.1