Skip to content

Commit

Permalink
Remove not used fields from DEFN
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Oct 10, 2023
1 parent 7de6908 commit 5245123
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -11207,7 +11207,6 @@ static rb_node_defn_t *
rb_node_defn_new(struct parser_params *p, ID nd_mid, NODE *nd_defn, const YYLTYPE *loc)
{
rb_node_defn_t *n = NODE_NEWNODE(NODE_DEFN, rb_node_defn_t, loc);
n->not_used = 0;
n->nd_mid = nd_mid;
n->nd_defn = nd_defn;

Expand Down
1 change: 0 additions & 1 deletion rubyparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,6 @@ typedef struct RNode_BLOCK_PASS {
typedef struct RNode_DEFN {
NODE node;

VALUE not_used;
ID nd_mid;
struct RNode *nd_defn;
} rb_node_defn_t;
Expand Down

0 comments on commit 5245123

Please sign in to comment.