mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
fix possible unititialized pointer usage
This commit is contained in:
parent
1923c7a9b8
commit
11716401bd
@ -78,7 +78,7 @@ file_fmttime(uint64_t v, int flags, char *buf)
|
||||
{
|
||||
char *pp;
|
||||
time_t t = (time_t)v;
|
||||
struct tm *tm;
|
||||
struct tm *tm = NULL;
|
||||
|
||||
if (flags & FILE_T_WINDOWS) {
|
||||
struct timeval ts;
|
||||
|
Loading…
Reference in New Issue
Block a user