aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/json
diff options
context:
space:
mode:
authorGravatar Alexey Firago <alexey_firago@mentor.com>2017-07-13 18:37:49 +0300
committerGravatar Alexey Firago <alexey_firago@mentor.com>2017-07-15 22:24:02 +0300
commitd50e01d041060e32a5fcb0cfd2e100dcb5767ff4 (patch)
tree7b9d5906b9b122cefc4a4dba022ee17dc2683fec /src/core/lib/json
parented3ad4b386a9b58ee6a9722dbfe1de5f0d63ca5f (diff)
Fix implicit fallthrough warnings on GCC 7.x
Add fallthrough comments to keep GCC >= 7.x happy. Signed-off-by: Alexey Firago <alexey_firago@mentor.com>
Diffstat (limited to 'src/core/lib/json')
-rw-r--r--src/core/lib/json/json_reader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/json/json_reader.c b/src/core/lib/json/json_reader.c
index 75f59e0912..094a35176c 100644
--- a/src/core/lib/json/json_reader.c
+++ b/src/core/lib/json/json_reader.c
@@ -178,6 +178,7 @@ grpc_json_reader_status grpc_json_reader_run(grpc_json_reader *reader) {
json_reader_string_clear(reader);
reader->state = GRPC_JSON_STATE_VALUE_END;
/* The missing break here is intentional. */
+ /* fallthrough */
case GRPC_JSON_STATE_VALUE_END:
case GRPC_JSON_STATE_OBJECT_KEY_BEGIN: