From b938c857fcea41c65a825e5a71ad1eab305740fd Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Fri, 15 May 2015 00:15:03 +0200 Subject: [PATCH] Use void instead of bogus operation. --- source/opencascade/boundary_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/opencascade/boundary_lib.cc b/source/opencascade/boundary_lib.cc index 4ac09a0706..af0909cddf 100644 --- a/source/opencascade/boundary_lib.cc +++ b/source/opencascade/boundary_lib.cc @@ -237,7 +237,7 @@ namespace OpenCASCADE gp_Pnt proj; double dist = curve_analysis.Project(curve->GetCurve(), point(space_point), tolerance, proj, t, true); Assert(dist < tolerance*length, ExcPointNotOnManifold(space_point)); - dist *= 2; // Silence compiler warning in Release mode. + (void)dist; // Silence compiler warning in Release mode. return Point<1>(GCPnts_AbscissaPoint::Length(curve->GetCurve(),curve->GetCurve().FirstParameter(),t)); } -- 2.39.5