summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-02 15:42:18 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-02 15:42:18 +0000
commitedff113eb91c7b01e5ff916ef326624cda1a383a (patch)
tree91d1ae6f1525ca829e5a795412999e1e5e0bd427
parenta1f49a9808d7a05b9549e34494d52c7dbe77092a (diff)
downloadruby-edff113eb91c7b01e5ff916ef326624cda1a383a.tar.gz
ruby-edff113eb91c7b01e5ff916ef326624cda1a383a.tar.xz
ruby-edff113eb91c7b01e5ff916ef326624cda1a383a.zip
suppress a warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 905c151b4..a21af1926 100644
--- a/time.c
+++ b/time.c
@@ -1878,7 +1878,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp)
int find_dst;
struct tm result;
int try_interpolation;
- unsigned long range;
+ unsigned long range = 0;
#ifdef FIND_TIME_NUMGUESS
#define GUESS(p) (find_time_numguess++, (utc_p ? gmtime_with_leapsecond(p, &result) : LOCALTIME(p, result)))