Skip to content

Commit

Permalink
* time.c (time_init_1): unused variable removed.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed May 12, 2009
1 parent 41167ea commit 6727d4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed May 13 03:20:47 2009 Tanaka Akira <[email protected]>

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

Tue May 12 21:03:02 2009 Tanaka Akira <[email protected]>

* time.c: support fixed UTC offset. [ruby-dev:38326]
Expand Down
2 changes: 0 additions & 2 deletions time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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")))
Expand Down

0 comments on commit 6727d4a

Please sign in to comment.