summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-24 04:27:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-24 04:27:35 +0000
commit0f4c580b20c3da5a9b6615e4d22fb815eea05548 (patch)
treecea3ae2c6af87991a7ca73e7a5e0ce587e50e3b6 /ext/date/date_core.c
parent8d23c8bf3b93b0f7ab6ea9493bda39da2605d427 (diff)
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/date/date_core.c')
-rw-r--r--ext/date/date_core.c7
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 */