From 8d7bdc945726501ebd511d8d9e99cbf6208beaae Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 16 Oct 2014 13:52:57 +0400 Subject: [PATCH] Compiler warning fix --- src/HLRBRep/HLRBRep_Data.cxx | 2 ++ src/HLRTopoBRep/HLRTopoBRep_FaceIsoLiner.cxx | 2 ++ 2 files changed, 4 insertions(+) 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; -- 2.39.5