From: Luca Heltai Date: Thu, 14 May 2015 22:15:03 +0000 (+0200) Subject: Use void instead of bogus operation. X-Git-Tag: v8.3.0-rc1~170^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b938c857fcea41c65a825e5a71ad1eab305740fd;p=dealii.git Use void instead of bogus operation. --- 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)); }