summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 04:40:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-10 04:40:40 +0000
commit397ee1a31500368f9e06b47ec5da3ca9054bd751 (patch)
tree3324905a8f40d34fd81696394704112b645fe805 /eval.c
parent5007c3461953e6ead84e69863b435c3c60e15bdb (diff)
* eval.c (rb_thread_select), string.c (str_gsub): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 9391b5b927..43455acbab 100644
--- a/eval.c
+++ b/eval.c
@@ -11262,7 +11262,7 @@ rb_thread_select(max, read, write, except, timeout)
struct timeval *timeout;
{
#ifndef linux
- double limit;
+ double limit = 0;
#endif
int n;