diff options
author | yui-knk <spiketeika@gmail.com> | 2023-10-05 17:49:41 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-10-06 07:31:22 +0900 |
commit | f6a2af255b9ace4de5b10cb75788529dab9c42e9 (patch) | |
tree | eaa804215b1dca1ba10c39e26cdc776a8f1be9af | |
parent | 8cb906d7067d9b4cdf7971e49f185c737f3ee1f9 (diff) | |
download | ruby-f6a2af255b9ace4de5b10cb75788529dab9c42e9.tar.gz |
Remove not used fields from ZLIST
-rw-r--r-- | parse.y | 3 | ||||
-rw-r--r-- | rubyparser.h | 4 |
2 files changed, 0 insertions, 7 deletions
@@ -11538,9 +11538,6 @@ static rb_node_zlist_t * rb_node_zlist_new(struct parser_params *p, const YYLTYPE *loc) { rb_node_zlist_t *n = NODE_NEWNODE(NODE_ZLIST, rb_node_zlist_t, loc); - n->not_used = 0; - n->not_used2 = 0; - n->not_used3 = 0; return n; } diff --git a/rubyparser.h b/rubyparser.h index b36470bf69..f0ce7989e0 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -515,10 +515,6 @@ typedef struct RNode_LIST { typedef struct RNode_ZLIST { NODE node; - - VALUE not_used; - VALUE not_used2; /* Used by p->exits */ - VALUE not_used3; /* Used by p->exits */ } rb_node_zlist_t; typedef struct RNode_VALUES { |