fix scan coverity issues

This commit is contained in:
wmayer
2018-02-10 14:29:49 +01:00
parent 2de84d64e8
commit b780ba650f
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);