summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-12 10:47:46 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-12 10:47:46 +0000
commitfef818ec822e978c73b68d3ecaa8e730316bd843 (patch)
treeae4c7fcc2464a20c70e705b23b2a74c6fec5e775 /thread.c
parent647cd75166d9d40b3fe8f0abd10adf1612375ad0 (diff)
* thread.c (call_trace_proc): should return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index f059e0dc39..a80445dca8 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;