Skip to content

Commit 6e4bfb3

Browse files
committed
Fix an argument name
1 parent 3b23b45 commit 6e4bfb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

time.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,7 +2538,7 @@ parse_int(const char *ptr, const char *end, const char **endp, size_t *ndigits,
25382538
}
25392539

25402540
static VALUE
2541-
time_init_parse(rb_execution_context_t *ec, VALUE klass, VALUE str, VALUE zone, VALUE precision)
2541+
time_init_parse(rb_execution_context_t *ec, VALUE time, VALUE str, VALUE zone, VALUE precision)
25422542
{
25432543
if (NIL_P(str = rb_check_string_type(str))) return Qnil;
25442544
if (!rb_enc_str_asciicompat_p(str)) {
@@ -2660,7 +2660,7 @@ time_init_parse(rb_execution_context_t *ec, VALUE klass, VALUE str, VALUE zone,
26602660
.sec = (sec < 0) ? 0 : sec,
26612661
.subsecx = NIL_P(subsec) ? INT2FIX(0) : subsec,
26622662
};
2663-
return time_init_vtm(klass, vtm, zone);
2663+
return time_init_vtm(time, vtm, zone);
26642664
}
26652665

26662666
static void

0 commit comments

Comments
 (0)