Remove not used fields from ONCE

This commit is contained in:
yui-knk 2023-09-27 22:03:48 +09:00 committed by Yuichiro Kaneko
parent d293d9e191
commit 4e90be4c93
2 changed files with 0 additions and 4 deletions

View File

@ -11870,9 +11870,7 @@ static rb_node_once_t *
rb_node_once_new(struct parser_params *p, NODE *nd_body, const YYLTYPE *loc)
{
rb_node_once_t *n = NODE_NEWNODE(NODE_ONCE, rb_node_once_t, loc);
n->not_used = 0;
n->nd_body = nd_body;
n->not_used2 = 0;
return n;
}

View File

@ -731,9 +731,7 @@ typedef struct RNode_DREGX {
typedef struct RNode_ONCE {
NODE node;
VALUE not_used;
struct RNode *nd_body;
VALUE not_used2;
} rb_node_once_t;
typedef struct RNode_ARGS {