fix uninitialized variable warning
[reactos.git] / 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 );