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
@@ -1128,7 +1128,6 @@ static Standard_Integer bsplineprof(Draw_Interpretor& di,
|
||||
return 0;
|
||||
|
||||
#ifdef DEB
|
||||
badargs:
|
||||
di << "profile : bad number of arguments";
|
||||
return 1;
|
||||
#endif
|
||||
|
@@ -193,10 +193,6 @@ static Standard_Integer plate (Draw_Interpretor & di,Standard_Integer n,const ch
|
||||
DBRep::Set(name, E);
|
||||
MW.Add(E);
|
||||
if (MW.IsDone()==Standard_False) {
|
||||
#if DEB
|
||||
BRepBuilderAPI_WireError err =
|
||||
#endif
|
||||
MW.Error();
|
||||
Standard_Failure::Raise("mkWire is over ");
|
||||
}
|
||||
|
||||
@@ -429,10 +425,6 @@ static Standard_Integer approxplate (Draw_Interpretor & di,Standard_Integer n,co
|
||||
BRepLib::BuildCurve3d(E);
|
||||
MW.Add(E);
|
||||
if (MW.IsDone()==Standard_False) {
|
||||
#ifdef DEB
|
||||
BRepBuilderAPI_WireError err =
|
||||
#endif
|
||||
MW.Error();
|
||||
Standard_Failure::Raise("mkWire is over ");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user