From 6a48d31ced11c36dd5614ec2546748f115e31409 Mon Sep 17 00:00:00 2001 From: aamine Date: Sat, 24 Feb 2007 01:38:26 +0000 Subject: [PATCH] * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/racc/cparse/cparse.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47d9693f43..51b79feea3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 24 10:38:05 2007 Minero Aoki + + * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless + rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405] + Sat Feb 24 07:31:35 2007 Masaki Suketa * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array, diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c index 753cfddda2..e52d0da807 100644 --- a/ext/racc/cparse/cparse.c +++ b/ext/racc/cparse/cparse.c @@ -393,10 +393,6 @@ cparse_params_mark(void *ptr) rb_gc_mark(v->goto_check); rb_gc_mark(v->goto_default); rb_gc_mark(v->goto_pointer); - rb_gc_mark(v->goto_pointer); - rb_gc_mark(v->goto_pointer); - rb_gc_mark(v->goto_pointer); - rb_gc_mark(v->goto_pointer); rb_gc_mark(v->reduce_table); rb_gc_mark(v->token_table); rb_gc_mark(v->state);