fix scan coverity issues

This commit is contained in:
wmayer
2018-02-10 14:29:49 +01:00
parent 707bbee6ae
commit 73522c3d10
9 changed files with 44 additions and 19 deletions

View File

@@ -81,6 +81,9 @@ bool CCurve::CheckForArc(const CVertex& prev_vt, std::list<const CVertex*>& migh
}
}
if (mid_vt == NULL)
return false;
// create a circle to test
Point p0(prev_vt.m_p);
Point p1(mid_vt->m_p);