aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-05 11:18:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-05 14:23:42 +0900
commitf5f3b35b9320e0dfaf3c40f00d866dcb595d54ef (patch)
treeffc6c3da66a06a17026ecb6eaba076ca64d1378b /parse.y
parent70e1635950fcf77ba43cffc110eac910332ea2a6 (diff)
downloadruby-f5f3b35b9320e0dfaf3c40f00d866dcb595d54ef.tar.gz
Remove unused nodes in NODE_RETURN and NODE_REDO
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 0 insertions, 6 deletions
diff --git a/parse.y b/parse.y
index ce016b5083..547b845912 100644
--- a/parse.y
+++ b/parse.y
@@ -11152,9 +11152,6 @@ static rb_node_retry_t *
rb_node_retry_new(struct parser_params *p, const YYLTYPE *loc)
{
rb_node_retry_t *n = NODE_NEWNODE(NODE_RETRY, rb_node_retry_t, loc);
- n->not_used = 0;
- n->not_used2 = 0;
- n->not_used3 = 0;
return n;
}
@@ -11226,9 +11223,6 @@ rb_node_return_new(struct parser_params *p, NODE *nd_stts, const YYLTYPE *loc)
{
rb_node_return_t *n = NODE_NEWNODE(NODE_RETURN, rb_node_return_t, loc);
n->nd_stts = nd_stts;
- n->not_used = 0;
- n->not_used2 = 0;
-
return n;
}