summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y4
-rw-r--r--rubyparser.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/parse.y b/parse.y
index f53ab8592e..bf69306d95 100644
--- a/parse.y
+++ b/parse.y
@@ -11992,7 +11992,6 @@ rb_node_alias_new(struct parser_params *p, NODE *nd_1st, NODE *nd_2nd, const YYL
rb_node_alias_t *n = NODE_NEWNODE(NODE_ALIAS, rb_node_alias_t, loc);
n->nd_1st = nd_1st;
n->nd_2nd = nd_2nd;
- n->not_used = 0;
return n;
}
@@ -12003,7 +12002,6 @@ rb_node_valias_new(struct parser_params *p, ID nd_alias, ID nd_orig, const YYLTY
rb_node_valias_t *n = NODE_NEWNODE(NODE_VALIAS, rb_node_valias_t, loc);
n->nd_alias = nd_alias;
n->nd_orig = nd_orig;
- n->not_used = 0;
return n;
}
@@ -12012,9 +12010,7 @@ static rb_node_undef_t *
rb_node_undef_new(struct parser_params *p, NODE *nd_undef, const YYLTYPE *loc)
{
rb_node_undef_t *n = NODE_NEWNODE(NODE_UNDEF, rb_node_undef_t, loc);
- n->not_used = 0;
n->nd_undef = nd_undef;
- n->not_used2 = 0;
return n;
}
diff --git a/rubyparser.h b/rubyparser.h
index 1f138975a3..9a6780dc46 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -855,7 +855,6 @@ typedef struct RNode_ALIAS {
struct RNode *nd_1st;
struct RNode *nd_2nd;
- VALUE not_used;
} rb_node_alias_t;
typedef struct RNode_VALIAS {
@@ -863,15 +862,12 @@ typedef struct RNode_VALIAS {
ID nd_alias;
ID nd_orig;
- VALUE not_used;
} rb_node_valias_t;
typedef struct RNode_UNDEF {
NODE node;
- VALUE not_used;
struct RNode *nd_undef;
- VALUE not_used2;
} rb_node_undef_t;
typedef struct RNode_CLASS {