From f8283ec523319f30ff10122ed2bc6c312392ad89 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 10 Oct 2008 01:24:44 +0000 Subject: [PATCH] Fix warning: Variable may be used uninitialized svn path=/trunk/; revision=36703 --- reactos/dll/win32/kernel32/misc/time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/win32/kernel32/misc/time.c b/reactos/dll/win32/kernel32/misc/time.c index 391fbe0235a..92aee600c50 100644 --- a/reactos/dll/win32/kernel32/misc/time.c +++ b/reactos/dll/win32/kernel32/misc/time.c @@ -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