fix uninitialized variable warning
authorChristoph von Wittich <christoph_vw@reactos.org>
Sat, 10 Dec 2005 00:06:42 +0000 (00:06 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sat, 10 Dec 2005 00:06:42 +0000 (00:06 +0000)
svn path=/trunk/; revision=20030

reactos/subsys/win32k/objects/path.c

index 748cd9d..e1dfe5d 100644 (file)
@@ -1021,7 +1021,7 @@ PATH_PathToRegion ( GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn )
 {
   int    numStrokes, iStroke, i;
   INT  *pNumPointsInStroke;
 {
   int    numStrokes, iStroke, i;
   INT  *pNumPointsInStroke;
-  HRGN hrgn;
+  HRGN hrgn = 0;
 
   assert ( pPath!=NULL );
   assert ( pHrgn!=NULL );
 
   assert ( pPath!=NULL );
   assert ( pHrgn!=NULL );