mirror of
https://github.com/json-c/json-c.git
synced 2026-03-25 07:59:07 +08:00
Add FALLTHRU comment to handle GCC7 warnings.
This commit is contained in:
@@ -677,6 +677,7 @@ int64_t json_object_get_int64(const struct json_object *jso)
|
||||
case json_type_string:
|
||||
if (json_parse_int64(get_string_component(jso), &cint) == 0)
|
||||
return cint;
|
||||
/* FALLTHRU */
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user