]> OCCT Git - occt-copy.git/commitdiff
Compiler warning fix
authordbv <dbv@opencascade.com>
Thu, 16 Oct 2014 09:52:57 +0000 (13:52 +0400)
committerbugmaster <bugmaster@opencascade.com>
Mon, 20 Oct 2014 10:46:28 +0000 (14:46 +0400)
src/HLRBRep/HLRBRep_Data.cxx
src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx

index bc257c8c2f0f3e187087d168746295200764fb8f..dfbab18ab5f24b12669797944ecc92243cf1ec87 100755 (executable)
@@ -1806,6 +1806,8 @@ void HLRBRep_Data::OrientOthEdge (const Standard_Integer I,
          cout << " Edge " << myFE << " : ";
          cout << "UVPoint not found, Edge not Oriented" << endl;
        }
+#else
+    (void)I; // avoid compiler warning
 #endif
       }
     }
index ccaa9ae994a639525ef35b0a0589c7375cd18b75..989894cb7ab293e94cc558abc6ed103b30f145af 100755 (executable)
@@ -61,6 +61,8 @@ void HLRTopoBRep_FaceIsoLiner::Perform (const Standard_Integer FI,
                                        HLRTopoBRep_Data& DS,
                                        const Standard_Integer nbIsos)
 {
+  (void)FI; // avoid compiler warning
+
   Standard_Real UMin, UMax, VMin, VMax, U1, U2;
   Standard_Integer ne = 0;
   //BRep_Builder Builder;