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