mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
winefile: Avoid uninitialized field in SYSTEMTIME structure (Coverity).
This commit is contained in:
parent
7d8730f8c5
commit
f38e0be5ea
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue