Skip to content

Commit

Permalink
Initalize all fields appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Mar 28, 2024
1 parent 87d7e9f commit c8655bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions link-grammar/dict-file/read-dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,10 @@ bool read_dictionary(Dictionary dict, const char * input)
fcurs->dict = dict;
fcurs->input = input;
fcurs->pin = fcurs->input;
fcurs->recursive_error = false;
fcurs->is_special = false;
fcurs->already_got_it = false;
fcurs->token[0] = 0;

return fread_dict(fcurs);
}
Expand Down

0 comments on commit c8655bd

Please sign in to comment.