1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

0023259: MSVC: C4101 warning - unreferenced local variable

Removed unreferenced variables
This commit is contained in:
Pawel 2012-07-11 14:11:56 +02:00 committed by Pawel Kowalski
parent 8ec3edb0c5
commit 575aec54df
3 changed files with 3 additions and 4 deletions

View File

@ -780,7 +780,7 @@ void IntTools_FaceFace::SetList(IntSurf_ListOfPntOn2S& aListOfPnts)
//ZZ
if (aNbLin) {// Check the distances
Standard_Integer i, aNbP, j ;
Standard_Real aT, aT1, aT2, dT, aD2, aD2Max, aEps, aT11, aT12;
Standard_Real aT1, aT2, dT, aD2, aD2Max, aEps, aT11, aT12;
//
aD2Max=0.;
aNbLin=mySeqOfCurve.Length();

View File

@ -5310,7 +5310,7 @@ Standard_Integer bcarray (Draw_Interpretor& di, Standard_Integer argc, const cha
return 1;
}
Standard_Integer i, aNb, aBL;
Standard_Integer i, aBL;
BOPTColStd_CArray1OfInteger aC;
//
aBL=100000;

View File

@ -150,9 +150,8 @@ static Standard_Integer QANewDBRepNaming_CheckNaming(Draw_Interpretor& di,Standa
TopExp::MapShapes(aSelectedShape, allSubShapes);
// cout<<"SELECTION ..."<<endl;
// cout << "i = " << allSubShapes.Extent() << endl;
Standard_Integer count = 0, j, i;
Standard_Integer count = 0, i;
char aDrawName[80] = "Select";
char aDrawNumber[10];
for (i = 1; i <= allSubShapes.Extent(); i++) {
const TDF_Label& aSubLabel = L.FindChild(i);