Need fixable_time_t_p() always

This commit is contained in:
dearblue
2023-04-01 23:22:08 +09:00
parent 2de602b869
commit bcce4b7141
-2
View File
@@ -212,7 +212,6 @@ void mrb_check_num_exact(mrb_state *mrb, mrb_float num);
(sizeof(time_t) <= 4 ? INT32_MAX : INT64_MAX) \
)
#if defined(MRB_NO_FLOAT) || defined(MRB_USE_BIGINT)
/* return true if time_t is fit in mrb_int */
static mrb_bool
fixable_time_t_p(time_t v)
@@ -223,7 +222,6 @@ fixable_time_t_p(time_t v)
if (MRB_INT_MIN > (mrb_int)v) return FALSE;
return TRUE;
}
#endif
static time_t
mrb_to_time_t(mrb_state *mrb, mrb_value obj, time_t *usec)