From 106e2cc619dc80ea16846eceb757f37ce0a0f4ef Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 6 May 2010 09:31:28 +0000 Subject: [PATCH] * cont.c (Init_Cont): th is used only when FIBER_USE_NATIVE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cont.c b/cont.c index 41519fb048..57b960a99e 100644 --- a/cont.c +++ b/cont.c @@ -1425,9 +1425,9 @@ rb_fiber_s_current(VALUE klass) void Init_Cont(void) { +#ifdef FIBER_USE_NATIVE rb_thread_t *th = GET_THREAD(); -#ifdef FIBER_USE_NATIVE #ifdef _WIN32 SYSTEM_INFO info; GetSystemInfo(&info);