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:
@@ -53,7 +53,5 @@ fields
|
||||
myCol : Color from Draw;
|
||||
myTyp : MarkerShape from Draw;
|
||||
mySiz : Integer;
|
||||
myRSiz : Real;
|
||||
myIsRSiz : Boolean;
|
||||
|
||||
end Marker2D;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user