summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/node.c b/node.c
index 370e6df5ce..abaaf19c7d 100644
--- a/node.c
+++ b/node.c
@@ -1136,14 +1136,3 @@ rb_ast_add_mark_object(rb_ast_t *ast, VALUE obj)
{
rb_ary_push(ast->mark_ary, obj);
}
-
-void
-rb_ast_delete_mark_object(rb_ast_t *ast, VALUE obj)
-{
- long i;
- for (i = 0; i < RARRAY_LEN(ast->mark_ary); i++) {
- if (obj == RARRAY_AREF(ast->mark_ary, i)) {
- RARRAY_ASET(ast->mark_ary, i, Qnil);
- }
- }
-}