From 8725d454258da93de3e5461d9620567af3e657e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Wed, 7 Sep 2016 06:27:32 +0200 Subject: [PATCH] silence warnings --- libsrc/stlgeom/stltool.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsrc/stlgeom/stltool.cpp b/libsrc/stlgeom/stltool.cpp index 9028cd72..855cec42 100644 --- a/libsrc/stlgeom/stltool.cpp +++ b/libsrc/stlgeom/stltool.cpp @@ -615,7 +615,7 @@ STLChart :: STLChart(STLGeometry * ageometry) geometry = ageometry; - if ( (stlparam.usesearchtree == 1)) + if ( stlparam.usesearchtree == 1) searchtree = new Box3dTree (geometry->GetBoundingBox().PMin() - Vec3d(1,1,1), geometry->GetBoundingBox().PMax() + Vec3d(1,1,1)); 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++) {