summaryrefslogtreecommitdiff
path: root/ext/syck/rubyext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/rubyext.c')
-rw-r--r--ext/syck/rubyext.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c
index fc83bf51897..29ac001bd2d 100644
--- a/ext/syck/rubyext.c
+++ b/ext/syck/rubyext.c
@@ -454,12 +454,6 @@ syck_mark_parser(parser)
{
rb_gc_mark(parser->root);
rb_gc_mark(parser->root_on_error);
- if ( parser->bonus != 0 )
- {
- struct parser_xtra *bonus = (struct parser_xtra *)parser->bonus;
- rb_gc_mark(bonus->proc);
- rb_gc_mark(bonus->data);
- }
}
/*