mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024510: Remove unused local variables
When warnings are enabled, compilers report lots of occurrences of unused local variables, which makes it harder to find other meaningful warnings. This commit does not fix all unused local variables. Fix new type conversion warning Code cleaned to avoid MSVC compiler warnings on unused function arguments. Several useless pieces of code are removed. Changes in IntTools_EdgeFace.cxx, Blend_Walking_1.gxx, Bnd_BoundSortBox.cxx, ProjLib_ProjectedCurve.cxx are reverted (separated to specific issue for more in-depth analysis).
This commit is contained in:
@@ -81,9 +81,6 @@ static Standard_Integer sweep (Draw_Interpretor&,
|
||||
GeomFill_Trihedron Option = GeomFill_IsCorrectedFrenet;
|
||||
Standard_Integer ipath =2, isection =4 , NbSeg=30, MaxDegree = 10;
|
||||
Standard_Real Tol = 1.e-4;
|
||||
#if DEB
|
||||
static Standard_Boolean AdvApprox_Debug = 1;
|
||||
#endif
|
||||
|
||||
if (n < 4 ) return 1;
|
||||
|
||||
@@ -161,9 +158,6 @@ static Standard_Integer tuyau (Draw_Interpretor&,
|
||||
Standard_Integer n, const char** a)
|
||||
{
|
||||
if ( n < 4) return 1;
|
||||
#if DEB
|
||||
static Standard_Boolean AdvApprox_Debug = 1;
|
||||
#endif
|
||||
|
||||
GeomAbs_Shape Cont = GeomAbs_C2;
|
||||
GeomFill_Pipe Pipe;
|
||||
|
Reference in New Issue
Block a user