]>
Commit | Line | Data |
---|---|---|
fb98beff ER |
1 | --- PHP_5_3/ext/zip/lib/zip_dirent.c 2010/12/17 21:21:06 306415 |
2 | +++ PHP_5_3/ext/zip/lib/zip_dirent.c 2010/12/17 23:05:26 306416 | |
3 | @@ -473,10 +473,8 @@ | |
4 | static time_t | |
5 | _zip_d2u_time(int dtime, int ddate) | |
6 | { | |
7 | - struct tm tm; | |
8 | + struct tm tm = {0}; | |
9 | ||
10 | - memset(&tm, sizeof(tm), 0); | |
11 | - | |
12 | /* let mktime decide if DST is in effect */ | |
13 | tm.tm_isdst = -1; | |
14 |