← Back to team overview

kicad-developers team mailing list archive

pns coverity issues

 

https://scan8.coverity.com/reports.htm#v22582/p10844/fileInstanceId=29833683&defectInstanceId=10148075&mergedDefectId=280285


467                if( s1.Distance( ip ) <= 1 || s2.Distance( ip ) <= 1 )
468                {
469                    s1opt = SEG( s1.A, ip );
470                    s2opt = SEG( ip, s2.B );
471                }
472                else
473                {
474                    s1opt = SEG( s1.A, ip );
475                    s2opt = SEG( ip, s2.B );
476                }

Rather interesting if else :D

Needs someone with PNS familiarity *cough* CERN guys ;)

There's a 2 more coverity results for just PNS as well that are ~something~
of interesting

https://scan8.coverity.com/reports.htm#v22582/p10844/fileInstanceId=29833692&defectInstanceId=10148869&mergedDefectId=280217
-
dead code


https://scan8.coverity.com/reports.htm#v22582/p10844/fileInstanceId=29833679&defectInstanceId=10148501&mergedDefectId=280386
-
invalid iterator

-- 
Mark