Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

should remove memset initialization; update 7496625

  • Loading branch information...
commit 158e1e6fcea3e39cb0e7af3b82d11fdaee36f68a 1 parent 7496625
@matz matz authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  src/time.c
View
1  src/time.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.