should remove memset initialization; update 7496625

This commit is contained in:
Yukihiro Matsumoto
2012-07-09 13:28:13 +09:00
parent 7496625fc3
commit 158e1e6fce
-1
View File
@@ -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;