winefile: Avoid uninitialized field in SYSTEMTIME structure (Coverity).
This commit is contained in:
parent
7d8730f8c5
commit
f38e0be5ea
@ -526,6 +526,7 @@ static BOOL time_to_filetime(const time_t* t, FILETIME* ftime)
|
|||||||
stime.wHour = tm->tm_hour;
|
stime.wHour = tm->tm_hour;
|
||||||
stime.wMinute = tm->tm_min;
|
stime.wMinute = tm->tm_min;
|
||||||
stime.wSecond = tm->tm_sec;
|
stime.wSecond = tm->tm_sec;
|
||||||
|
stime.wMilliseconds = 0;
|
||||||
|
|
||||||
return SystemTimeToFileTime(&stime, ftime);
|
return SystemTimeToFileTime(&stime, ftime);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user