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

0024162: Eliminate CLang compiler warning

Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
omy
2013-09-11 15:49:07 +04:00
committed by abv
parent eafb234bf1
commit 258ff83bb6
77 changed files with 151 additions and 334 deletions

View File

@@ -53,7 +53,5 @@ fields
myCol : Color from Draw;
myTyp : MarkerShape from Draw;
mySiz : Integer;
myRSiz : Real;
myIsRSiz : Boolean;
end Marker2D;

View File

@@ -40,8 +40,8 @@ Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
//=======================================================================
Draw_Marker2D::Draw_Marker2D(const gp_Pnt2d& P, const Draw_MarkerShape T,
const Draw_Color& C, const Standard_Real RSize) :
myPos(P), myCol(C), myTyp(T), myRSiz(RSize), myIsRSiz(Standard_True)
const Draw_Color& C, const Standard_Real /*RSize*/) :
myPos(P), myCol(C), myTyp(T)
{
}
@@ -72,9 +72,8 @@ gp_Pnt2d& Draw_Marker2D::ChangePos()
//=======================================================================
Standard_Boolean Draw_Marker2D::PickReject(const Standard_Real,
const Standard_Real,
const Standard_Real) const
const Standard_Real,
const Standard_Real) const
{
return Standard_False;
}