Quiet compiler warnings.

This commit is contained in:
Jeff Young 2021-07-22 13:03:17 +01:00
parent 937e4b1d8c
commit 4760480f40
1 changed files with 1 additions and 1 deletions

View File

@ -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;