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:
@@ -111,5 +111,5 @@ fields
|
||||
|
||||
mytype : TypeOfSensitivity;
|
||||
myautointer : Boolean;
|
||||
myDetectedIndex : Integer from Standard;
|
||||
|
||||
end SensitiveFace;
|
||||
|
@@ -54,8 +54,7 @@ Select3D_SensitiveFace(const Handle(SelectBasics_EntityOwner)& OwnerId,
|
||||
const TColgp_Array1OfPnt& ThePoints,
|
||||
const Select3D_TypeOfSensitivity aType):
|
||||
Select3D_SensitivePoly(OwnerId, ThePoints),
|
||||
mytype (aType),
|
||||
myDetectedIndex(-1)
|
||||
mytype (aType)
|
||||
{
|
||||
AutoInitFlags(myautointer);
|
||||
}
|
||||
@@ -70,8 +69,7 @@ Select3D_SensitiveFace(const Handle(SelectBasics_EntityOwner)& OwnerId,
|
||||
const Handle(TColgp_HArray1OfPnt)& ThePoints,
|
||||
const Select3D_TypeOfSensitivity aType):
|
||||
Select3D_SensitivePoly(OwnerId, ThePoints),
|
||||
mytype (aType),
|
||||
myDetectedIndex(-1)
|
||||
mytype (aType)
|
||||
{
|
||||
AutoInitFlags(myautointer);
|
||||
}
|
||||
|
@@ -122,7 +122,6 @@ is
|
||||
---Purpose:returns <mymaxrect>
|
||||
|
||||
fields
|
||||
mymaxrect : Integer;
|
||||
mysensitive : SensitiveEntitySequence from Select3D;
|
||||
myDetectedIndex : Integer from Standard;
|
||||
end SensitiveWire;
|
||||
|
@@ -39,9 +39,8 @@
|
||||
|
||||
Select3D_SensitiveWire::
|
||||
Select3D_SensitiveWire(const Handle(SelectBasics_EntityOwner)& OwnerId,
|
||||
const Standard_Integer MaxRect):
|
||||
const Standard_Integer /*MaxRect*/):
|
||||
Select3D_SensitiveEntity(OwnerId),
|
||||
mymaxrect(MaxRect),
|
||||
myDetectedIndex(-1)
|
||||
{}
|
||||
|
||||
|
Reference in New Issue
Block a user