summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y3
-rw-r--r--rubyparser.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/parse.y b/parse.y
index bf69306d95..c2b5a707d1 100644
--- a/parse.y
+++ b/parse.y
@@ -11302,7 +11302,6 @@ rb_node_case_new(struct parser_params *p, NODE *nd_head, NODE *nd_body, const YY
rb_node_case_t *n = NODE_NEWNODE(NODE_CASE, rb_node_case_t, loc);
n->nd_head = nd_head;
n->nd_body = nd_body;
- n->not_used = 0;
return n;
}
@@ -11313,7 +11312,6 @@ rb_node_case2_new(struct parser_params *p, NODE *nd_body, const YYLTYPE *loc)
rb_node_case2_t *n = NODE_NEWNODE(NODE_CASE2, rb_node_case2_t, loc);
n->nd_head = 0;
n->nd_body = nd_body;
- n->not_used = 0;
return n;
}
@@ -11324,7 +11322,6 @@ rb_node_case3_new(struct parser_params *p, NODE *nd_head, NODE *nd_body, const Y
rb_node_case3_t *n = NODE_NEWNODE(NODE_CASE3, rb_node_case3_t, loc);
n->nd_head = nd_head;
n->nd_body = nd_body;
- n->not_used = 0;
return n;
}
diff --git a/rubyparser.h b/rubyparser.h
index 9a6780dc46..6103f8505d 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -209,7 +209,6 @@ typedef struct RNode_CASE {
struct RNode *nd_head;
struct RNode *nd_body;
- VALUE not_used;
} rb_node_case_t;
typedef struct RNode_CASE2 {
@@ -217,7 +216,6 @@ typedef struct RNode_CASE2 {
struct RNode *nd_head;
struct RNode *nd_body;
- VALUE not_used;
} rb_node_case2_t;
typedef struct RNode_CASE3 {
@@ -225,7 +223,6 @@ typedef struct RNode_CASE3 {
struct RNode *nd_head;
struct RNode *nd_body;
- VALUE not_used;
} rb_node_case3_t;
typedef struct RNode_WHEN {