Remove not used fields from LAMBDA

This commit is contained in:
yui-knk 2023-09-29 18:54:28 +09:00 committed by Yuichiro Kaneko
parent 97564ddf2b
commit 443099377f
2 changed files with 0 additions and 4 deletions

View File

@ -11290,9 +11290,7 @@ rb_node_lambda_new(struct parser_params *p, NODE *nd_args, NODE *nd_body, const
/* Keep the order of node creation */
NODE *scope = NEW_SCOPE(nd_args, nd_body, loc);
rb_node_lambda_t *n = NODE_NEWNODE(NODE_LAMBDA, rb_node_lambda_t, loc);
n->not_used = 0;
n->nd_body = scope;
n->not_used2 = 0;
return n;
}

View File

@ -980,9 +980,7 @@ typedef struct RNode_ATTRASGN {
typedef struct RNode_LAMBDA {
NODE node;
VALUE not_used;
struct RNode *nd_body;
VALUE not_used2;
} rb_node_lambda_t;
typedef struct RNode_ARYPTN {