Quiet compiler warnings.
This commit is contained in:
parent
937e4b1d8c
commit
4760480f40
|
@ -258,7 +258,7 @@ void CornerListToPolygon( SHAPE_POLY_SET& outline, std::vector<ROUNDED_CORNER>&
|
||||||
int endAngle, radius = cur.m_radius;
|
int endAngle, radius = cur.m_radius;
|
||||||
double tanAngle2;
|
double tanAngle2;
|
||||||
|
|
||||||
if( incoming.x == 0 && outgoing.y == 0 || incoming.y == 0 && outgoing.x == 0 )
|
if( ( incoming.x == 0 && outgoing.y == 0 ) || ( incoming.y == 0 && outgoing.x == 0 ) )
|
||||||
{
|
{
|
||||||
endAngle = 900;
|
endAngle = 900;
|
||||||
tanAngle2 = 1.0;
|
tanAngle2 = 1.0;
|
||||||
|
|
Loading…
Reference in New Issue