X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=src%2Flp_json.c;fp=src%2Flp_json.c;h=10b5927945ec1f4e8d649caba8b9a69eaf4d208d;hp=f050307b28386ac00a23ce30335c1f89ac8548e5;hb=80c2b1ecf858c7df7a7e447ed4e7e10393be6a17;hpb=00d599813072d79184e9984cd79af6d70c54cb3f diff --git a/src/lp_json.c b/src/lp_json.c index f050307..10b5927 100644 --- a/src/lp_json.c +++ b/src/lp_json.c @@ -37,7 +37,6 @@ static time_t json_to_time(json_object *json) if (!str) return -1; - memset(&tm, 0, sizeof(struct tm)); tm.tm_isdst = -1; ret = strptime(str, "%FT%T", &tm);