summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-07-09 13:28:13 +0900
committerYukihiro Matsumoto <[email protected]>2012-07-09 13:28:13 +0900
commit158e1e6fcea3e39cb0e7af3b82d11fdaee36f68a (patch)
tree23726aa2d96efe186e3929c67de03a29042816a5
parent7496625fc3b2f306e97c8ef12f67a92693e13bf8 (diff)
downloadmruby-158e1e6fcea3e39cb0e7af3b82d11fdaee36f68a.tar.gz
mruby-158e1e6fcea3e39cb0e7af3b82d11fdaee36f68a.zip
should remove memset initialization; update 7496625
-rw-r--r--src/time.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/time.c b/src/time.c
index a8033f95d..45e796069 100644
--- a/src/time.c
+++ b/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;