Remove not used fields from ONCE
This commit is contained in:
parent
d293d9e191
commit
4e90be4c93
2
parse.y
2
parse.y
@ -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;
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user