1- // Copyright (c) Six Labors and contributors.
1+ // Copyright (c) Six Labors and contributors.
22// Licensed under the Apache License, Version 2.0.
33
44using System . Numerics ;
@@ -50,7 +50,7 @@ public void CorrectlySetsBrushAndPath()
5050 ShapePath region = Assert . IsType < ShapePath > ( processor . Region ) ;
5151
5252 // path is converted to a polygon before filling
53- ComplexPolygon polygon = Assert . IsType < ComplexPolygon > ( region . Shape ) ;
53+ Assert . IsType < ComplexPolygon > ( region . Shape ) ;
5454
5555 Assert . Equal ( this . pen . StrokeFill , processor . Brush ) ;
5656 }
@@ -68,7 +68,7 @@ public void CorrectlySetsBrushPathOptions()
6868 Assert . Equal ( this . noneDefault , processor . Options ) ;
6969
7070 ShapePath region = Assert . IsType < ShapePath > ( processor . Region ) ;
71- ComplexPolygon polygon = Assert . IsType < ComplexPolygon > ( region . Shape ) ;
71+ Assert . IsType < ComplexPolygon > ( region . Shape ) ;
7272
7373 Assert . Equal ( this . pen . StrokeFill , processor . Brush ) ;
7474 }
@@ -86,7 +86,7 @@ public void CorrectlySetsColorAndPath()
8686 Assert . Equal ( GraphicsOptions . Default , processor . Options ) ;
8787
8888 ShapePath region = Assert . IsType < ShapePath > ( processor . Region ) ;
89- ComplexPolygon polygon = Assert . IsType < ComplexPolygon > ( region . Shape ) ;
89+ Assert . IsType < ComplexPolygon > ( region . Shape ) ;
9090
9191 SolidBrush brush = Assert . IsType < SolidBrush > ( processor . Brush ) ;
9292 Assert . Equal ( this . color , brush . Color ) ;
@@ -105,7 +105,7 @@ public void CorrectlySetsColorPathAndOptions()
105105 Assert . Equal ( this . noneDefault , processor . Options ) ;
106106
107107 ShapePath region = Assert . IsType < ShapePath > ( processor . Region ) ;
108- ComplexPolygon polygon = Assert . IsType < ComplexPolygon > ( region . Shape ) ;
108+ Assert . IsType < ComplexPolygon > ( region . Shape ) ;
109109
110110 SolidBrush brush = Assert . IsType < SolidBrush > ( processor . Brush ) ;
111111 Assert . Equal ( this . color , brush . Color ) ;
0 commit comments