mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should remove memset initialization; update 7496625
This commit is contained in:
@@ -241,7 +241,6 @@ time_mktime(mrb_state *mrb, mrb_int ayear, mrb_int amonth, mrb_int aday,
|
||||
time_t nowsecs;
|
||||
struct tm nowtime = { 0 };
|
||||
|
||||
memset(&nowtime, 0, sizeof(struct tm));
|
||||
nowtime.tm_year = (int)ayear - 1900;
|
||||
nowtime.tm_mon = (int)amonth - 1;
|
||||
nowtime.tm_mday = (int)aday;
|
||||
|
||||
Reference in New Issue
Block a user