Browse Source

Quiet compiler warnings.

6.0.7
Jeff Young 4 years ago
parent
commit
4760480f40
  1. 2
      libs/kimath/src/convert_basic_shapes_to_polygon.cpp

2
libs/kimath/src/convert_basic_shapes_to_polygon.cpp

@ -258,7 +258,7 @@ void CornerListToPolygon( SHAPE_POLY_SET& outline, std::vector<ROUNDED_CORNER>&
int endAngle, radius = cur.m_radius;
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;
tanAngle2 = 1.0;

Loading…
Cancel
Save