summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-22 14:02:59 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-22 14:02:59 (GMT)
commit6fdbf5a8046b30fe8df18868cab9bb3352de9b75 (patch)
treec78d91f4b1e55f3d31870e6712fd33d7a5ccee02 /time.c
parent0bed6345ce53f647240bdd6895e5daecd0a48479 (diff)
No longer subsec and isdst members
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/time.c b/time.c
index 996e1b0..0a492f1 100644
--- a/time.c
+++ b/time.c
@@ -5090,12 +5090,6 @@ tm_initialize(int argc, VALUE *argv, VALUE tm)
RSTRUCT_SET(tm, i++, INT2FIX(vtm.mday));
RSTRUCT_SET(tm, i++, INT2FIX(vtm.mon));
RSTRUCT_SET(tm, i++, vtm.year);
- RSTRUCT_SET(tm, i++, INT2FIX(0));
- switch (vtm.isdst) {
- case 0: RSTRUCT_SET(tm, i++, Qfalse); break;
- case 1: RSTRUCT_SET(tm, i++, Qtrue); break;
- default: RSTRUCT_SET(tm, i++, Qnil); break;
- }
RSTRUCT_SET(tm, i++, w2v(rb_time_unmagnify(t)));
return tm;
#endif