From a1530c751e6c484b6217565f3db2b0614735710c Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 22 Jul 1999 10:37:27 +0000 Subject: backtrace may be Qnil git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- struct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'struct.c') diff --git a/struct.c b/struct.c index 3be34acca2..e22c539fac 100644 --- a/struct.c +++ b/struct.c @@ -325,7 +325,7 @@ rb_struct_each(s) for (i=0; ilen; i++) { rb_yield(RSTRUCT(s)->ptr[i]); } - return Qnil; + return s; } static VALUE -- cgit v1.2.3