mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
Fix warning: Variable may be used uninitialized
svn path=/trunk/; revision=36703
This commit is contained in:
parent
36d4bf7f6e
commit
f8283ec523
|
@ -141,6 +141,8 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
|
|||
SYSTEMTIME SysTime;
|
||||
FILETIME ftTemp;
|
||||
|
||||
ZeroMemory (&SysTime, sizeof (SysTime));
|
||||
|
||||
if (pTZinfo->DaylightDate.wMonth != 0)
|
||||
{
|
||||
/* if year is 0 then date is in day-of-week format, otherwise
|
||||
|
|
Loading…
Reference in a new issue