Add FALLTHRU comment to handle GCC7 warnings.

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

No files matched your search

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