From: dbv Date: Thu, 16 Oct 2014 09:52:57 +0000 (+0400) Subject: Compiler warning fix X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8d7bdc945726501ebd511d8d9e99cbf6208beaae;p=occt-copy.git Compiler warning fix --- diff --git a/src/HLRBRep/HLRBRep_Data.cxx b/src/HLRBRep/HLRBRep_Data.cxx index bc257c8c2f..dfbab18ab5 100755 --- a/src/HLRBRep/HLRBRep_Data.cxx +++ b/src/HLRBRep/HLRBRep_Data.cxx @@ -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 } } diff --git a/src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx b/src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx index ccaa9ae994..989894cb7a 100755 --- a/src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx +++ b/src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx @@ -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;