diff options
author | Jean Boussier <[email protected]> | 2025-06-10 21:13:37 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-10 21:13:37 +0200 |
commit | 35fc19f5d44341a9bb691231d2e150caefdc2b70 (patch) | |
tree | 18be2da5c2c1378c50455596264d55b69cf2397c /enumerator.c | |
parent | 0f922edca018c20c8b9b8c7711b371e26a724104 (diff) |
enumerator.c: Remove unused IDs
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/enumerator.c b/enumerator.c index c29ef2df2c..b91b2eb940 100644 --- a/enumerator.c +++ b/enumerator.c @@ -162,10 +162,9 @@ */ VALUE rb_cEnumerator; static VALUE rb_cLazy; -static ID id_rewind, id_new, id_to_enum, id_each_entry; +static ID id_rewind, id_to_enum, id_each_entry; static ID id_next, id_result, id_receiver, id_arguments, id_memo, id_method, id_force; -static ID id_begin, id_end, id_step, id_exclude_end; -static VALUE sym_each, sym_cycle, sym_yield; +static VALUE sym_each, sym_yield; static VALUE lazy_use_super_method; @@ -4727,7 +4726,6 @@ void Init_Enumerator(void) { id_rewind = rb_intern_const("rewind"); - id_new = rb_intern_const("new"); id_next = rb_intern_const("next"); id_result = rb_intern_const("result"); id_receiver = rb_intern_const("receiver"); @@ -4737,12 +4735,7 @@ Init_Enumerator(void) id_force = rb_intern_const("force"); id_to_enum = rb_intern_const("to_enum"); id_each_entry = rb_intern_const("each_entry"); - id_begin = rb_intern_const("begin"); - id_end = rb_intern_const("end"); - id_step = rb_intern_const("step"); - id_exclude_end = rb_intern_const("exclude_end"); sym_each = ID2SYM(id_each); - sym_cycle = ID2SYM(rb_intern_const("cycle")); sym_yield = ID2SYM(rb_intern_const("yield")); InitVM(Enumerator); |