← Back to team overview

kicad-developers team mailing list archive

Return value from SHAPE_POLY_SET::pointInPolygon

 

Hi,

that function returns a bool, but common/geometry/shape_poly_set.cpp
line 704-705 has

                if( !d )
                    return -1;

That smells fishy and gives a compiler warning.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups