summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
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 5032f773ef..78d7d8b54c 100644
--- a/thread.c
+++ b/thread.c
@@ -1879,8 +1879,8 @@ static VALUE
rb_thread_priority_set(VALUE thread, VALUE prio)
{
rb_thread_t *th;
- GetThreadPtr(thread, th);
int priority;
+ GetThreadPtr(thread, th);
rb_secure(4);