diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 12:54:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 12:54:21 +0000 |
commit | e68e9b01c60dcc914032df722b5c403469995fd9 (patch) | |
tree | 28945015e8a814aa2c69b4f5d353f6b8e0b3f40f | |
parent | ef94d7515eac3e17e1cf3593ceb1b6171e100a16 (diff) | |
download | ruby-e68e9b01c60dcc914032df722b5c403469995fd9.tar.gz |
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
-rw-r--r-- | node.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |