1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* time.c (time_init_1): unused variable removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-05-12 18:21:18 +00:00
parent 41167eaf20
commit 6727d4a14a
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed May 13 03:20:47 2009 Tanaka Akira <akr@fsij.org>
* time.c (time_init_1): unused variable removed.
Tue May 12 21:03:02 2009 Tanaka Akira <akr@fsij.org>
* time.c: support fixed UTC offset. [ruby-dev:38326]

2
time.c
View file

@ -1299,7 +1299,6 @@ time_init_1(int argc, VALUE *argv, VALUE time)
{
struct vtm vtm;
VALUE v[7];
int i;
struct time_object *tobj;
vtm.wday = -1;
@ -1333,7 +1332,6 @@ time_init_1(int argc, VALUE *argv, VALUE time)
vtm.utc_offset = Qnil;
if (!NIL_P(v[6])) {
VALUE arg = v[6];
VALUE tmp;
if (arg == ID2SYM(rb_intern("dst")))
vtm.isdst = 1;
else if (arg == ID2SYM(rb_intern("std")))