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
@@ -562,7 +562,7 @@ Standard_Boolean Validate(const Adaptor3d_Curve& CRef,
|
||||
fabs( Other.LastParameter()-Last) > aPC);
|
||||
if (!proj) {
|
||||
Standard_Integer i;
|
||||
Standard_Real Tol2, prm, aD2, dD;
|
||||
Standard_Real Tol2, prm, dD;
|
||||
gp_Pnt pref, pother;
|
||||
//modified by NIZNHY-PKV Thu May 05 09:06:41 2011f
|
||||
//OCC22428
|
||||
|
@@ -266,10 +266,7 @@ BRepCheck_Status BRepCheck_Face::ClassifyWires(const Standard_Boolean Update)
|
||||
TopoDS_Shape aLocalShape = myShape.EmptyCopied();
|
||||
TopoDS_Face newFace = TopoDS::Face(aLocalShape);
|
||||
// TopoDS_Face newFace = TopoDS::Face(myShape.EmptyCopied());
|
||||
#ifdef DEB
|
||||
TopAbs_Orientation orWire =
|
||||
#endif
|
||||
wir1.Orientation();
|
||||
|
||||
newFace.Orientation(TopAbs_FORWARD);
|
||||
B.Add(newFace,wir1);
|
||||
|
||||
|
@@ -433,7 +433,6 @@ BRepCheck_Status BRepCheck_Shell::Orientation(const Standard_Boolean Update)
|
||||
if (BRepCheck_Trace(0) > 1) {
|
||||
TopTools_DataMapIteratorOfDataMapOfShapeInteger itt(MapOfShapeOrientation);
|
||||
Standard_Integer upper = MapOfShapeOrientation.NbBuckets();
|
||||
Standard_Integer code = 0;
|
||||
cout << "La map shape Orientation :" << endl;
|
||||
for (; itt.More(); itt.Next()) {
|
||||
PrintShape(itt.Key(), upper);
|
||||
|
@@ -887,7 +887,7 @@ BRepCheck_Status BRepCheck_Wire::SelfIntersect(const TopoDS_Face& F,
|
||||
//
|
||||
if(Inter.IsDone()) {
|
||||
Standard_Integer nbp = Inter.NbPoints();
|
||||
Standard_Integer nbs = Inter.NbSegments();
|
||||
//Standard_Integer nbs = Inter.NbSegments();
|
||||
//
|
||||
for(Standard_Integer p=1;p<=nbp;p++) {
|
||||
const IntRes2d_IntersectionPoint& IP=Inter.Point(p);
|
||||
|
Reference in New Issue
Block a user