1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

Warnings on vc14 were eliminated

This commit is contained in:
apn 2016-12-23 10:10:55 +03:00
parent 0f0f0c06d1
commit 9f951ebc44

View File

@ -433,9 +433,9 @@ static Standard_Integer DumpNbDGTs (Draw_Interpretor& di, Standard_Integer argc,
} }
else if (anObject->GetModifiers().Length() > 0) { else if (anObject->GetModifiers().Length() > 0) {
Standard_Boolean isHasModif = Standard_False; Standard_Boolean isHasModif = Standard_False;
for (Standard_Integer i = 1; i <= anObject->GetModifiers().Length(); i++) for (Standard_Integer j = 1; j <= anObject->GetModifiers().Length(); j++)
if (anObject->GetModifiers().Value(i) != XCAFDimTolObjects_GeomToleranceModif_All_Around && if (anObject->GetModifiers().Value(j) != XCAFDimTolObjects_GeomToleranceModif_All_Around &&
anObject->GetModifiers().Value(i) != XCAFDimTolObjects_GeomToleranceModif_All_Over) { anObject->GetModifiers().Value(j) != XCAFDimTolObjects_GeomToleranceModif_All_Over) {
isHasModif = Standard_True; isHasModif = Standard_True;
break; break;
} }