silence warnings

This commit is contained in:
Joachim Schöberl 2016-09-07 06:27:32 +02:00
parent 8c118c6fc9
commit 8725d45425

View File

@ -615,7 +615,7 @@ STLChart :: STLChart(STLGeometry * ageometry)
geometry = ageometry; geometry = ageometry;
if ( (stlparam.usesearchtree == 1)) if ( stlparam.usesearchtree == 1)
searchtree = new Box3dTree (geometry->GetBoundingBox().PMin() - Vec3d(1,1,1), searchtree = new Box3dTree (geometry->GetBoundingBox().PMin() - Vec3d(1,1,1),
geometry->GetBoundingBox().PMax() + Vec3d(1,1,1)); geometry->GetBoundingBox().PMax() + Vec3d(1,1,1));
else else
@ -1044,7 +1044,8 @@ int STLBoundary :: TestSeg(const Point<3>& p1, const Point<3> & p2, const Vec<3>
} }
if (possible && 0) // if (possible && 0)
if (false)
for (i = 0; i <= divisions; i++) for (i = 0; i <= divisions; i++)
{ {