0024510: Remove unused local variables
[occt.git] / src / QABugs / QABugs_2.cxx
index 64fc7f1..d3b1201 100644 (file)
@@ -88,7 +88,6 @@ static Standard_Integer OCC527(Draw_Interpretor& di, Standard_Integer argc, cons
       aFaceBox.Get(X1,Y1,Z1,X2,Y2,Z2);
 
       // Build sections from Zmin to Zmax with step aStep
-      Standard_Boolean wasBuilt = Standard_False;
       double gmaxdist = 0.0, gzmax = Zmax;
       for (double zcur = Zmax; zcur > Zmin; zcur -= aStep)
       {
@@ -138,7 +137,6 @@ static Standard_Integer OCC527(Draw_Interpretor& di, Standard_Integer argc, cons
               Standard_Real  toler = BRep_Tool::Tolerance(aV);
               double dist = pl.Distance(BRep_Tool::Pnt(aV));
               if (dist > lmaxdist) lmaxdist = dist;
-              wasBuilt = Standard_True;
       // If section was built check distance beetwen vertexes and plane of the one
       str[0] =0;
 //       if (wasBuilt)