@@ -362,9 +362,6 @@ GpStatus WINGDIPAPI
362362GdipClonePath (GpPath * path , GpPath * * clonePath )
363363{
364364GpPath * result ;
365- int i ;
366- BYTE type ;
367- GpPointF point ;
368365
369366if (!path || !clonePath )
370367return InvalidParameter ;
@@ -599,8 +596,7 @@ GdipClearPathMarkers (GpPath *path)
599596static void
600597reverse_subpath_adjust_flags (int start , int end , BYTE * types , BOOL * prev_had_marker )
601598{
602- BYTE t , prev_last ;
603- int i ;
599+ BYTE prev_last ;
604600
605601/* Copy all but PathPointTypeStart */
606602if (end != start )
@@ -629,7 +625,6 @@ GpStatus WINGDIPAPI
629625GdipReversePath (GpPath * path )
630626{
631627int length , i ;
632- GByteArray * types ;
633628int start = 0 ;
634629BOOL prev_had_marker = FALSE;
635630
@@ -1188,11 +1183,6 @@ GdipAddPathPolygon (GpPath *path, const GpPointF *points, int count)
11881183GpStatus WINGDIPAPI
11891184GdipAddPathPath (GpPath * path , GDIPCONST GpPath * addingPath , BOOL connect )
11901185{
1191- int i , length ;
1192- PathPointType first ;
1193- GpPointF * pts ;
1194- BYTE * types ;
1195-
11961186if (!path || !addingPath )
11971187return InvalidParameter ;
11981188
@@ -1672,10 +1662,6 @@ static BOOL
16721662gdip_convert_bezier_to_lines (GpPath * path , int index , float flatness , GpPath * flat_path )
16731663{
16741664GpPointF start , first , second , end ;
1675- GpPointF pt ;
1676- BYTE type ;
1677- int i ;
1678- int points_len = 0 ;
16791665int saved_count ;
16801666
16811667if ((index <= 0 ) || (index + 2 >= path -> count ))
@@ -1704,8 +1690,6 @@ GdipFlattenPath (GpPath *path, GpMatrix *matrix, float flatness)
17041690{
17051691GpStatus status = Ok ;
17061692GpPath * flat_path ;
1707- GArray * points ;
1708- GByteArray * types ;
17091693int i ;
17101694
17111695if (!path )
@@ -1735,7 +1719,6 @@ GdipFlattenPath (GpPath *path, GpMatrix *matrix, float flatness)
17351719if ((type & PathPointTypeBezier ) == PathPointTypeBezier ) {
17361720if (!gdip_convert_bezier_to_lines (path , i , fabs (flatness ), flat_path )) {
17371721/* uho, too much recursion - do not pass go, do not collect 200$ */
1738- GpPointF pt ;
17391722
17401723/* free the the partial flat */
17411724GdipResetPath (flat_path );
0 commit comments