mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022922: Clean up warnings on uninitialized / unused variables
This commit is contained in:
committed by
bugmaster
parent
25289ec1e1
commit
6e6cd5d949
@@ -585,11 +585,6 @@ static Standard_Integer smoothingbybezier (Draw_Interpretor& di,
|
||||
Standard_Boolean mySquare = (methode == 2);
|
||||
Standard_Integer degmin = 4;
|
||||
Standard_Integer NbIteration = 5;
|
||||
#ifdef DEB
|
||||
Standard_Integer NbConst =
|
||||
#endif
|
||||
NbConstraint(TABofCC->Value(1).Constraint(),
|
||||
TABofCC->Value(NbPoints).Constraint());
|
||||
|
||||
if (Degree < 4) degmin = Max(1, Degree -1);
|
||||
degmin = Max(degmin, NbConstraint(TABofCC->Value(1).Constraint(),
|
||||
|
Reference in New Issue
Block a user