1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove member char_offset_updated from struct rmatch as member char_offset_num_allocated can serve the same purpose as that predicate

This commit is contained in:
Lourens Naudé 2019-03-16 15:53:18 +00:00 committed by NARUSE, Yui
parent 82ef172a8c
commit cf930985da
2 changed files with 3 additions and 14 deletions

View file

@ -36,9 +36,8 @@ struct rmatch_offset {
struct rmatch {
struct re_registers regs;
int char_offset_updated;
int char_offset_num_allocated;
struct rmatch_offset *char_offset;
int char_offset_num_allocated;
};
struct RMatch {