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

@@ -111,5 +111,5 @@ fields
mytype : TypeOfSensitivity;
myautointer : Boolean;
myDetectedIndex : Integer from Standard;
end SensitiveFace;

View File

@@ -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);
}

View File

@@ -122,7 +122,6 @@ is
---Purpose:returns <mymaxrect>
fields
mymaxrect : Integer;
mysensitive : SensitiveEntitySequence from Select3D;
myDetectedIndex : Integer from Standard;
end SensitiveWire;

View File

@@ -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)
{}