Remove not used fields from STR

This commit is contained in:
yui-knk 2023-10-14 11:01:47 +09:00 committed by Yuichiro Kaneko
parent 5342dbf00b
commit 606452d1a9
2 changed files with 0 additions and 4 deletions

View File

@ -11849,8 +11849,6 @@ rb_node_str_new(struct parser_params *p, VALUE nd_lit, const YYLTYPE *loc)
{
rb_node_str_t *n = NODE_NEWNODE(NODE_STR, rb_node_str_t, loc);
n->nd_lit = nd_lit;
n->not_used = 0;
n->not_used2 = 0;
return n;
}

View File

@ -618,8 +618,6 @@ typedef struct RNode_STR {
NODE node;
VALUE nd_lit;
VALUE not_used;
VALUE not_used2;
} rb_node_str_t;
/* RNode_DSTR, RNode_DXSTR and RNode_DSYM should be same structure */