mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0026780: Coding rules - eliminate warnings on Linux and Mac
Fixed a few remaining warnings found by GCC, CLang, and VC++ 14 (recent changes)
This commit is contained in:
@@ -65,6 +65,11 @@ TopOpeBRep_FFDumper::TopOpeBRep_FFDumper(const TopOpeBRep_PFacesFiller& PFF)
|
||||
#ifndef OCCT_DEBUG
|
||||
void TopOpeBRep_FFDumper::Init(const TopOpeBRep_PFacesFiller& )
|
||||
{
|
||||
// just shut up compiler warnings
|
||||
(void)myEn1;
|
||||
(void)myEn2;
|
||||
(void)myLineIndex;
|
||||
}
|
||||
#else
|
||||
void TopOpeBRep_FFDumper::Init(const TopOpeBRep_PFacesFiller& PFF)
|
||||
{
|
||||
@@ -84,8 +89,8 @@ void TopOpeBRep_FFDumper::Init(const TopOpeBRep_PFacesFiller& PFF)
|
||||
for (x.Init(myF2,TopAbs_EDGE);x.More();x.Next()) myEM2.Bind(x.Current(),++myEn2);
|
||||
myLineIndex = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
//function : DumpLine
|
||||
|
Reference in New Issue
Block a user