0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
[occt.git] / src / BOPAlgo / BOPAlgo_Builder_2.cxx
index bba4e8a..54f2a9a 100644 (file)
@@ -570,7 +570,7 @@ void MakeBlocksCnx(const BOPCol_IndexedDataMapOfShapeListOfShape& aMILI,
     aMVAdd.Clear();
     //
     aMVP.Add(nV);
-    while(1) {
+    for(;;) {
       aNbVP=aMVP.Extent();
       for (j=1; j<=aNbVP; ++j) {
         const TopoDS_Shape& nVP=aMVP(j);