diff options
author | yui-knk <[email protected]> | 2023-09-30 16:28:03 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-09-30 18:53:40 +0900 |
commit | 1fbccd02eeb37cf3ecd408b0ec2a71bdf78aa00f (patch) | |
tree | 6a79f7d011f63c70180a06627a17707317412bee | |
parent | eba19d86d4fd6d10ccc9f2603187ca0f8ca806c4 (diff) |
Remove not used fields from OP_ASGN_AND, OP_ASGN_OR
-rw-r--r-- | parse.y | 2 | ||||
-rw-r--r-- | rubyparser.h | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -11620,7 +11620,6 @@ rb_node_op_asgn_or_new(struct parser_params *p, NODE *nd_head, NODE *nd_value, c rb_node_op_asgn_or_t *n = NODE_NEWNODE(NODE_OP_ASGN_OR, rb_node_op_asgn_or_t, loc); n->nd_head = nd_head; n->nd_value = nd_value; - n->not_used = 0; return n; } @@ -11631,7 +11630,6 @@ rb_node_op_asgn_and_new(struct parser_params *p, NODE *nd_head, NODE *nd_value, rb_node_op_asgn_and_t *n = NODE_NEWNODE(NODE_OP_ASGN_AND, rb_node_op_asgn_and_t, loc); n->nd_head = nd_head; n->nd_value = nd_value; - n->not_used = 0; return n; } diff --git a/rubyparser.h b/rubyparser.h index a61fdf6b84..e760d841a2 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -438,7 +438,6 @@ typedef struct RNode_OP_ASGN_AND { struct RNode *nd_head; struct RNode *nd_value; - VALUE not_used; } rb_node_op_asgn_and_t; typedef struct RNode_OP_ASGN_OR { @@ -446,7 +445,6 @@ typedef struct RNode_OP_ASGN_OR { struct RNode *nd_head; struct RNode *nd_value; - VALUE not_used; } rb_node_op_asgn_or_t; typedef struct RNode_OP_CDECL { |