projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
287d869
)
fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are...
author
Magnus Olsen
<magnus@greatlord.com>
Sat, 17 Mar 2007 18:32:32 +0000
(18:32 +0000)
committer
Magnus 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
patch
|
blob
|
history
diff --git
a/reactos/subsystems/win32/win32k/ntddraw/dd.c
b/reactos/subsystems/win32/win32k/ntddraw/dd.c
index
93f10fd
..
6fc0629
100644
(file)
--- a/
reactos/subsystems/win32/win32k/ntddraw/dd.c
+++ b/
reactos/subsystems/win32/win32k/ntddraw/dd.c
@@
-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");