diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-10-05 11:18:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-10-05 14:23:42 +0900 |
commit | f5f3b35b9320e0dfaf3c40f00d866dcb595d54ef (patch) | |
tree | ffc6c3da66a06a17026ecb6eaba076ca64d1378b /parse.y | |
parent | 70e1635950fcf77ba43cffc110eac910332ea2a6 (diff) | |
download | ruby-f5f3b35b9320e0dfaf3c40f00d866dcb595d54ef.tar.gz |
Remove unused nodes in NODE_RETURN and NODE_REDO
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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; } |