aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-11-28 20:41:40 -0500
committerGitHub <noreply@github.com>2023-11-29 01:41:40 +0000
commitfcabe2df39b892458cb1f67437852c4acbb245a6 (patch)
tree8862de7e37abeabcd5fa5598afac7b211596caeb /method.h
parentbed014e374c6a4a7cec15a18e9dd702b674706d9 (diff)
downloadruby-fcabe2df39b892458cb1f67437852c4acbb245a6.tar.gz
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`.
Diffstat (limited to 'method.h')
-rw-r--r--method.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/method.h b/method.h
index fece2e54c3..ad66690c6a 100644
--- a/method.h
+++ b/method.h
@@ -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 {