summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-04 06:52:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-04 06:52:35 +0000
commit6dad6f5c4c2c71021c8b80790d9a72f31aba6905 (patch)
tree5d8b1e91f543e660be9a3b349006336eac32d4d5 /thread_pthread.c
parentcc30e4031993de270e1105a7549f34fdf93002c5 (diff)
* 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.c2
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);