winefile: Avoid uninitialized field in SYSTEMTIME structure (Coverity).

This commit is contained in:
Frédéric Delanoy 2011-11-25 14:55:40 +01:00 committed by Alexandre Julliard
parent 7d8730f8c5
commit f38e0be5ea
1 changed files with 1 additions and 0 deletions

View File

@ -526,6 +526,7 @@ static BOOL time_to_filetime(const time_t* t, FILETIME* ftime)
stime.wHour = tm->tm_hour;
stime.wMinute = tm->tm_min;
stime.wSecond = tm->tm_sec;
stime.wMilliseconds = 0;
return SystemTimeToFileTime(&stime, ftime);
}