diff --git a/parse.y b/parse.y index b138933131..8fd9ecc1a1 100644 --- a/parse.y +++ b/parse.y @@ -11713,9 +11713,7 @@ static rb_node_nth_ref_t * rb_node_nth_ref_new(struct parser_params *p, long nd_nth, const YYLTYPE *loc) { rb_node_nth_ref_t *n = NODE_NEWNODE(NODE_NTH_REF, rb_node_nth_ref_t, loc); - n->not_used = 0; n->nd_nth = nd_nth; - n->not_used2 = 0; return n; } @@ -11724,9 +11722,7 @@ static rb_node_back_ref_t * rb_node_back_ref_new(struct parser_params *p, long nd_nth, const YYLTYPE *loc) { rb_node_back_ref_t *n = NODE_NEWNODE(NODE_BACK_REF, rb_node_back_ref_t, loc); - n->not_used = 0; n->nd_nth = nd_nth; - n->not_used2 = 0; return n; } diff --git a/rubyparser.h b/rubyparser.h index 403efe50ac..296b272c32 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -634,17 +634,13 @@ typedef struct RNode_CVAR { typedef struct RNode_NTH_REF { NODE node; - VALUE not_used; long nd_nth; - VALUE not_used2; } rb_node_nth_ref_t; typedef struct RNode_BACK_REF { NODE node; - VALUE not_used; long nd_nth; - VALUE not_used2; } rb_node_back_ref_t; /* RNode_MATCH, RNode_LIT, RNode_STR and RNode_XSTR should be same structure */