Remove written-but-never-read me->def.body.refined.owner

This also removes aliasing rule violations; the anonymous structs were
distinct types from `rb_method_refined_t`.
This commit is contained in:
Alan Wu 2023-11-28 20:41:40 -05:00 committed by GitHub
parent bed014e374
commit fcabe2df39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 30 deletions

View file

@ -153,7 +153,6 @@ typedef struct rb_method_alias_struct {
typedef struct rb_method_refined_struct {
struct rb_method_entry_struct * orig_me;
VALUE owner;
} rb_method_refined_t;
typedef struct rb_method_bmethod_struct {