diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-27 02:20:17 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-27 02:20:17 +0000 |
commit | ea490ced1149f59180a64016ffc4752cec31ec20 (patch) | |
tree | 0626e4414e61fd16329ad8025d0da685cad96c58 | |
parent | c65953cd0303d6c3315376f228c2ac20a8ad0135 (diff) | |
download | ruby-ea490ced1149f59180a64016ffc4752cec31ec20.tar.gz |
* ext/date/date_core.c: removed unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/date/date_core.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Sun Mar 27 11:18:35 2011 Tadayoshi Funaba <tadf@dotrb.org> + + * ext/date/date_core.c: removed unused variables. + Sat Mar 26 15:16:09 2011 Tanaka Akira <akr@fsij.org> * ext/socket/getaddrinfo.c: parenthesize macro arguments. diff --git a/ext/date/date_core.c b/ext/date/date_core.c index c20079b2e9..bb51bd8e8b 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -1486,8 +1486,6 @@ civil_to_yday(int y, int m, int d) static VALUE d_lite_yday(VALUE self) { - int ry, rd; - get_d1(self); if (!light_mode_p(dat)) return iforward0("yday_r"); @@ -3230,8 +3228,6 @@ dt_lite_year(VALUE self) static VALUE dt_lite_yday(VALUE self) { - int ry, rd; - get_dt1(self); if (!light_mode_p(dat)) return iforward0("yday_r"); |