Fix warning: Variable may be used uninitialized

svn path=/trunk/; revision=36703
This commit is contained in:
Thomas Bluemel 2008-10-10 01:24:44 +00:00
parent 36d4bf7f6e
commit f8283ec523

View file

@ -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