Sketcher: Coverity 332679 - logically dead code removed

This commit is contained in:
Abdullah Tahiri
2022-03-12 20:06:46 +01:00
parent 341cf32369
commit bcfa246943

View File

@@ -2680,8 +2680,6 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
firstParam = bsp->getFirstParameter();
lastParam = bsp->getLastParameter();
}
else
return -1;
double pointParam, point1Param, point2Param;
if(!getIntersectionParameters(geo, point, pointParam, point1, point1Param, point2, point2Param))