Remove not used fields from MODULE, SCLASS

This commit is contained in:
yui-knk 2023-09-27 21:36:04 +09:00 committed by Yuichiro Kaneko
parent 4e90be4c93
commit 4c18615ffe
2 changed files with 0 additions and 4 deletions

View File

@ -11251,7 +11251,6 @@ rb_node_sclass_new(struct parser_params *p, NODE *nd_recv, NODE *nd_body, const
rb_node_sclass_t *n = NODE_NEWNODE(NODE_SCLASS, rb_node_sclass_t, loc);
n->nd_recv = nd_recv;
n->nd_body = scope;
n->not_used = 0;
return n;
}
@ -11264,7 +11263,6 @@ rb_node_module_new(struct parser_params *p, NODE *nd_cpath, NODE *nd_body, const
rb_node_module_t *n = NODE_NEWNODE(NODE_MODULE, rb_node_module_t, loc);
n->nd_cpath = nd_cpath;
n->nd_body = scope;
n->not_used = 0;
return n;
}

View File

@ -845,7 +845,6 @@ typedef struct RNode_MODULE {
struct RNode *nd_cpath;
struct RNode *nd_body;
VALUE not_used;
} rb_node_module_t;
typedef struct RNode_SCLASS {
@ -853,7 +852,6 @@ typedef struct RNode_SCLASS {
struct RNode *nd_recv;
struct RNode *nd_body;
VALUE not_used;
} rb_node_sclass_t;
typedef struct RNode_COLON2 {