projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8abed7
)
json_script: fix unannotated fall-through warning
author
Felix Fietkau
<nbd@nbd.name>
Sun, 16 May 2021 16:07:24 +0000
(18:07 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Sun, 16 May 2021 16:07:26 +0000
(18:07 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
json_script.c
patch
|
blob
|
history
diff --git
a/json_script.c
b/json_script.c
index 3b10b10154001493c32bac38c7371201e6203811..14d045db19a8818b2d5e75b17d9a0f38a6811727 100644
(file)
--- 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)