mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024635: Eliminate trivial compiler warnings by GCC in Debug mode
This commit is contained in:
@@ -130,6 +130,7 @@ void Extrema_ExtCS::Perform(const Adaptor3d_Curve& C,
|
||||
case GeomAbs_BSplineSurface:
|
||||
case GeomAbs_SurfaceOfRevolution:
|
||||
case GeomAbs_SurfaceOfExtrusion:
|
||||
case GeomAbs_OffsetSurface:
|
||||
case GeomAbs_OtherSurface:
|
||||
{
|
||||
Standard_Real cfirst = myucinf, clast = myucsup;
|
||||
@@ -139,7 +140,7 @@ void Extrema_ExtCS::Perform(const Adaptor3d_Curve& C,
|
||||
if(Precision::IsInfinite(Abs(cfirst)) || Precision::IsInfinite(Abs(clast))) {
|
||||
|
||||
Bnd_Box aSurfBox;
|
||||
BndLib_AddSurface::Add(*myS, ufirst, ulast, vfirst, vlast, Precision::Confusion(), aSurfBox);
|
||||
BndLib_AddSurface::Add(*myS, ufirst, ulast, vfirst, vlast, Precision::Confusion(), aSurfBox);
|
||||
Standard_Real xmin, ymin, zmin, xmax, ymax, zmax;
|
||||
aSurfBox.Get(xmin, ymin, zmin, xmax, ymax, zmax);
|
||||
Standard_Real tmin = Precision::Infinite(), tmax = -tmin;
|
||||
@@ -207,10 +208,6 @@ void Extrema_ExtCS::Perform(const Adaptor3d_Curve& C,
|
||||
return;
|
||||
|
||||
}
|
||||
#ifndef DEB
|
||||
default:
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user