Browse Source

json_script: fix unannotated fall-through warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau 2 years ago
parent
commit
b14c468861
1 changed files with 1 additions and 1 deletions
  1. 1 1
      json_script.c

+ 1 - 1
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)