mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024168: Eliminate CLang compiler warning -Wunused-variable
Got rid of warning -Wunused-variable In FSD_File, use template specialization instead of comparison of sizeof() to specific value in if statement, thus eliminating warning "constant value in conditional expression"
This commit is contained in:
@@ -315,9 +315,6 @@ void IntCurveSurface_Inter::Perform(const TheCurve& curve,
|
||||
done = Standard_True;
|
||||
Standard_Integer NbUOnS = TheSurfaceTool::NbUIntervals(surface,GeomAbs_C2);
|
||||
Standard_Integer NbVOnS = TheSurfaceTool::NbVIntervals(surface,GeomAbs_C2);
|
||||
#ifdef ICS_DEB
|
||||
Standard_Integer NbOnC = TheCurveTool::NbIntervals(curve,GeomAbs_C2);
|
||||
#endif
|
||||
Standard_Real U0,U1,V0,V1;
|
||||
|
||||
if(NbUOnS > 1) {
|
||||
|
Reference in New Issue
Block a user