diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-04 06:52:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-04 06:52:35 +0000 |
commit | 6dad6f5c4c2c71021c8b80790d9a72f31aba6905 (patch) | |
tree | 5d8b1e91f543e660be9a3b349006336eac32d4d5 /thread_pthread.c | |
parent | cc30e4031993de270e1105a7549f34fdf93002c5 (diff) | |
download | ruby-6dad6f5c4c2c71021c8b80790d9a72f31aba6905.tar.gz |
* thread_pthread.c (thread_start_func_1): suppress an unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index af1ddca78c..ab4036f4d2 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -618,7 +618,9 @@ thread_start_func_1(void *th_ptr) #endif { rb_thread_t *th = th_ptr; +#if !defined USE_NATIVE_THREAD_INIT VALUE stack_start; +#endif #if defined USE_NATIVE_THREAD_INIT native_thread_init_stack(th); |