Fix build warnings
This commit is contained in:
parent
afed91661b
commit
3f08bfb264
7 changed files with 11 additions and 8 deletions
|
|
@ -38,8 +38,9 @@ TSInput ts_string_input_make(const char *string) {
|
|||
.payload = input,
|
||||
.read_fn = ts_string_input_read,
|
||||
.seek_fn = ts_string_input_seek,
|
||||
.encoding = TSInputEncodingUTF8,
|
||||
};
|
||||
|
||||
error:
|
||||
return (TSInput){NULL, NULL, NULL};
|
||||
return (TSInput){NULL, NULL, NULL, TSInputEncodingUTF8};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue