Author: greatlrd
Date: Sat Mar 17 21:32:32 2007
New Revision: 26123
URL:
http://svn.reactos.org/svn/reactos?rev=26123&view=rev
Log:
fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are being
iniste in seh
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c Sat Mar 17 21:32:32 2007
@@ -53,7 +53,11 @@
/* FIXME alloc so mayne we need */
PHANDLE *myhSurface[1];
-
+
+ /* GCC4 warnns on value are unisitaed,
+ but they are initated in seh
+ */
+ myhSurface[0] = 0;
DPRINT1("NtGdiDdCreateSurface\n");