mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed unreachable code
* node.c (rb_ast_dispose): since `ast->node_buffer` is freed in `rb_ast_free()`, it should be always NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c415d0163
commit
0d957a91ba
1 changed files with 0 additions and 1 deletions
1
node.c
1
node.c
|
@ -1139,7 +1139,6 @@ void
|
|||
rb_ast_dispose(rb_ast_t *ast)
|
||||
{
|
||||
rb_ast_free(ast);
|
||||
if (ast->node_buffer) RB_OBJ_WRITE(ast, &ast->node_buffer->mark_ary, Qnil);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue