From b5d74f4f26c2c8b1d20dc0ceb0affece1ec96c3a Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 8 Oct 2023 11:23:42 +0900 Subject: [PATCH] Remove not used fields from EVSTR --- parse.y | 2 -- rubyparser.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/parse.y b/parse.y index 08f9e97786..18e3f36305 100644 --- a/parse.y +++ b/parse.y @@ -11879,9 +11879,7 @@ static rb_node_evstr_t * rb_node_evstr_new(struct parser_params *p, NODE *nd_body, const YYLTYPE *loc) { rb_node_evstr_t *n = NODE_NEWNODE(NODE_EVSTR, rb_node_evstr_t, loc); - n->not_used = 0; n->nd_body = nd_body; - n->not_used2 = 0; return n; } diff --git a/rubyparser.h b/rubyparser.h index 96ec404528..2514ddbd90 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -657,9 +657,7 @@ typedef struct RNode_DXSTR { typedef struct RNode_EVSTR { NODE node; - VALUE not_used; struct RNode *nd_body; - VALUE not_used2; } rb_node_evstr_t; typedef struct RNode_DREGX {