From ea490ced1149f59180a64016ffc4752cec31ec20 Mon Sep 17 00:00:00 2001 From: tadf Date: Sun, 27 Mar 2011 02:20:17 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ext/date/date_core.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 257c09ea81..ed572e00fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Mar 27 11:18:35 2011 Tadayoshi Funaba + + * ext/date/date_core.c: removed unused variables. + Sat Mar 26 15:16:09 2011 Tanaka Akira * 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");