Author: weiden
Date: Thu Oct 9 20:24:44 2008
New Revision: 36703
URL: http://svn.reactos.org/svn/reactos?rev=36703&view=rev
Log:
Fix warning: Variable may be used uninitialized
Modified:
trunk/reactos/dll/win32/kernel32/misc/time.c
Modified: trunk/reactos/dll/win32/kernel32/misc/time.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/ti…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/time.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/time.c [iso-8859-1] Thu Oct 9 20:24:44 2008
@@ -141,6 +141,8 @@
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