summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 05:56:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 05:56:51 +0000
commit6e23f5093e372dc02f888d5163524e2e46444fd7 (patch)
tree03a562afefd4d9656291258ce10dac507bd2afc7 /thread.c
parent3d761f813cc52848cd1f5002f5c9a0bce7dfd573 (diff)
downloadruby-6e23f5093e372dc02f888d5163524e2e46444fd7.tar.gz
ruby-6e23f5093e372dc02f888d5163524e2e46444fd7.tar.xz
ruby-6e23f5093e372dc02f888d5163524e2e46444fd7.zip
* thread.c (rb_thread_priority_set): get rid of C99 feature.
* transcode.c (transcode_search_path): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18606 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 5032f773e..78d7d8b54 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);