From b14c4688612c05c78ce984d7bde633bce8703b1e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 16 May 2021 18:07:24 +0200 Subject: [PATCH] json_script: fix unannotated fall-through warning Signed-off-by: Felix Fietkau --- json_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_script.c b/json_script.c index 3b10b10..14d045d 100644 --- a/json_script.c +++ b/json_script.c @@ -591,7 +591,7 @@ static int json_process_cmd(struct json_call *call, struct blob_attr *block) case BLOBMSG_TYPE_STRING: if (!i) return __json_process_cmd(call, block); - /* fall through */ + fallthrough; default: ret = json_process_cmd(call, cur); if (ret < -1) -- 2.30.2