fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are...
authorMagnus Olsen <magnus@greatlord.com>
Sat, 17 Mar 2007 18:32:32 +0000 (18:32 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sat, 17 Mar 2007 18:32:32 +0000 (18:32 +0000)
svn path=/trunk/; revision=26123

reactos/subsystems/win32/win32k/ntddraw/dd.c

index 93f10fd..6fc0629 100644 (file)
@@ -53,7 +53,11 @@ DWORD STDCALL NtGdiDdCreateSurface(
 
     /* 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");