diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-02-13 12:53:49 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-02-20 11:46:54 +0900 |
commit | c7e6dbd5ab488a42f2d1a8f3503480b92cd0aa88 (patch) | |
tree | 9f368cee7fbe3cbb3a1996c4d54d9d4ce22c3802 /thread.c | |
parent | 984e0233fe0c60fb5c6c5f937c214e30c1b7c6f0 (diff) | |
download | ruby-c7e6dbd5ab488a42f2d1a8f3503480b92cd0aa88.tar.gz |
fix arity mismatch
This is a ruby method with arity zero. Which means, this function takes
one argument (that is self).
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -309,7 +309,7 @@ static int rb_thread_debug_enabled; */ static VALUE -rb_thread_s_debug(void) +rb_thread_s_debug(VALUE _) { return INT2NUM(rb_thread_debug_enabled); } |