Commit f38e0be5 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

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

parent 7d8730f8
...@@ -526,6 +526,7 @@ static BOOL time_to_filetime(const time_t* t, FILETIME* ftime) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment