diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-24 04:27:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-24 04:27:35 +0000 |
commit | cc0d8da0afa4822a420b6e760dffdf58708e2bbb (patch) | |
tree | cea3ae2c6af87991a7ca73e7a5e0ce587e50e3b6 /ext | |
parent | 29d0a13e1022b2e7d331c23132bf6c54a9f8330e (diff) | |
download | ruby-cc0d8da0afa4822a420b6e760dffdf58708e2bbb.tar.gz |
date_core.c: unused variable
* ext/date/date_core.c (dt_lite_jisx0301): remove no longer used
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_core.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index a863f9c17c..489cdc80f1 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -8389,11 +8389,8 @@ dt_lite_jisx0301(int argc, VALUE *argv, VALUE self) if (argc >= 1) n = NUM2LONG(argv[0]); - { - get_d1(self); - return rb_str_append(d_lite_jisx0301(self), - iso8601_timediv(self, n)); - } + return rb_str_append(d_lite_jisx0301(self), + iso8601_timediv(self, n)); } /* conversions */ |