1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0026783: Coding rules - eliminate GCC warning -Wunused-but-set-parameter

TestTopOpeDraw_Displayer::GetTol(), GetPar() - pass assigned parameters by reference.
TopOpeBRep_vprdeg.cxx, TopOpeBRep_FacesFiller::ProcessVPondgE() - remove commented code, comment inactive code.
This commit is contained in:
rkv
2015-11-05 16:07:37 +03:00
committed by abv
parent 5d88fd549c
commit 3d18f1e038
2 changed files with 9 additions and 679 deletions

View File

@@ -51,11 +51,11 @@ class TestTopOpeDraw_Displayer {
void Discret(const Standard_Integer n) { mySdiscret = n; }
void DiscretDef(const Standard_Boolean b) { mySdiscretdef = b; }
void SetTol(const Standard_Real Tol) { myTol = Tol;}
void GetTol(Standard_Real Tol) { Tol = myTol;}
void GetTol(Standard_Real& Tol) { Tol = myTol;}
Standard_Boolean TolIs(void) {return myTolIs;}
void TolIs(Standard_Boolean TolIs) { myTolIs = TolIs;}
void SetPar(const Standard_Real Par) { myPar = Par; myParIs = Standard_True;}
void GetPar(Standard_Real Par) { Par = myPar;}
void GetPar(Standard_Real& Par) { Par = myPar;}
Standard_Boolean ParIs(void) {return myParIs;}
void SetColor(const Draw_Color Col) { myCol = Col; myColIs = Standard_True;}
void SetNameColor(const Draw_Color Col) { myNameColor = Col; myNameColorIs = Standard_True;}