1
0
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:
dbv@opencascade.com
2012-03-07 17:00:48 +04:00
committed by bugmaster
parent 25289ec1e1
commit 6e6cd5d949
226 changed files with 151 additions and 1471 deletions

View File

@@ -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

View File

@@ -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 ");
}
}