[前][次][番号順一覧][スレッド一覧]

ruby-changes:19147

From: tadf <ko1@a...>
Date: Sun, 27 Mar 2011 11:23:27 +0900 (JST)
Subject: [ruby-changes:19147] Ruby:r31186 (trunk): * ext/date/date_core.c: removed unused variables.

tadf	2011-03-27 11:20:17 +0900 (Sun, 27 Mar 2011)

  New Revision: 31186

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31186

  Log:
    * ext/date/date_core.c: removed unused variables.

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_core.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31185)
+++ ChangeLog	(revision 31186)
@@ -1,3 +1,7 @@
+Sun Mar 27 11:18:35 2011  Tadayoshi Funaba  <tadf@d...>
+
+	* ext/date/date_core.c: removed unused variables.
+
 Sat Mar 26 15:16:09 2011  Tanaka Akira  <akr@f...>
 
 	* ext/socket/getaddrinfo.c: parenthesize macro arguments.
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 31185)
+++ ext/date/date_core.c	(revision 31186)
@@ -1486,8 +1486,6 @@
 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 @@
 static VALUE
 dt_lite_yday(VALUE self)
 {
-    int ry, rd;
-
     get_dt1(self);
     if (!light_mode_p(dat))
 	return iforward0("yday_r");

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]