diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-05-16 18:07:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-05-16 18:07:26 +0200 |
commit | b14c4688612c05c78ce984d7bde633bce8703b1e (patch) | |
tree | 93de31821e5ad9c15d0889333792a5816ed263b2 | |
parent | b8abed7494238c22522b29814c4cc754e3c19d5a (diff) | |
download | libubox-b14c4688612c05c78ce984d7bde633bce8703b1e.tar.gz |
json_script: fix unannotated fall-through warning
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | json_script.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |