From fec4b9aa3708ee8659f0dc680ac21df0c3b15155 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 12 Nov 2007 10:47:46 +0000 Subject: * thread.c (call_trace_proc): should return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index f059e0dc3..a80445dca 100644 --- a/thread.c +++ b/thread.c @@ -2902,7 +2902,7 @@ call_trace_proc(VALUE args) rb_thread_method_id_and_klass(GET_THREAD(), &id, &klass); } if (id == ID_ALLOCATOR) - return; + return Qnil; if (klass) { if (TYPE(klass) == T_ICLASS) { klass = RBASIC(klass)->klass; -- cgit