From da6980195ea92f5e01c9fb6268a1e4e80734dbd8 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 16 Mar 2001 08:28:12 +0000 Subject: [PATCH] remove duplicated initialize in PUSH_TAG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eval.c b/eval.c index 1eaf4bb608..8deb3db623 100644 --- a/eval.c +++ b/eval.c @@ -776,7 +776,6 @@ static struct tag *prot_tag; _tag.frame = ruby_frame; \ _tag.iter = ruby_iter; \ _tag.prev = prot_tag; \ - _tag.retval = Qnil; \ _tag.scope = ruby_scope; \ _tag.tag = ptag; \ _tag.dst = 0; \ @@ -6337,7 +6336,7 @@ proc_eq(self, other) struct BLOCK *data, *data2; if (TYPE(other) != T_DATA) return Qfalse; - if (RDATA(other)->dmark != blk_mark) Qfalse; + if (RDATA(other)->dmark != (RUBY_DATA_FUNC)blk_mark) Qfalse; Data_Get_Struct(self, struct BLOCK, data); Data_Get_Struct(other, struct BLOCK, data2); if (data->tag == data2->tag) return Qtrue;