json_script: fix unannotated fall-through warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2021-05-16 18:07:24 +02:00
parent b8abed7494
commit b14c468861

View file

@ -591,7 +591,7 @@ static int json_process_cmd(struct json_call *call, struct blob_attr *block)
case BLOBMSG_TYPE_STRING: case BLOBMSG_TYPE_STRING:
if (!i) if (!i)
return __json_process_cmd(call, block); return __json_process_cmd(call, block);
/* fall through */ fallthrough;
default: default:
ret = json_process_cmd(call, cur); ret = json_process_cmd(call, cur);
if (ret < -1) if (ret < -1)