summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-05-16 18:07:24 +0200
committerFelix Fietkau <nbd@nbd.name>2021-05-16 18:07:26 +0200
commitb14c4688612c05c78ce984d7bde633bce8703b1e (patch)
tree93de31821e5ad9c15d0889333792a5816ed263b2
parentb8abed7494238c22522b29814c4cc754e3c19d5a (diff)
downloadlibubox-b14c4688612c05c78ce984d7bde633bce8703b1e.tar.gz
json_script: fix unannotated fall-through warning
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--json_script.c2
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)