Add FALLTHRU comment to handle GCC7 warnings.

This commit is contained in:
marxin
2017-03-21 08:42:11 +01:00
parent 82f5a4ab29
commit 014924ba89
3 changed files with 13 additions and 11 deletions

View File

@@ -341,6 +341,7 @@ struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
tok->err = json_tokener_error_parse_unexpected;
goto out;
}
/* FALLTHRU */
case '"':
state = json_tokener_state_string;
printbuf_reset(tok->pb);