mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024162: Eliminate CLang compiler warning
Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
@@ -102,7 +102,6 @@ fields
|
||||
|
||||
myTDFAcces : Label from TDF;
|
||||
myShape : Shape from TopoDS;
|
||||
myOneOnly : Boolean from Standard;
|
||||
|
||||
myDone : Boolean from Standard;
|
||||
|
||||
|
@@ -76,10 +76,9 @@ static void ModDbgTools_WriteCurrentShape(const Handle(TNaming_NamedShape) & NS)
|
||||
TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces,
|
||||
const TopoDS_Shape& S,
|
||||
const TopoDS_Shape& Context,
|
||||
const Standard_Boolean OneOnly)
|
||||
:myTDFAcces(LabAcces), myShape(S), myOneOnly(OneOnly),
|
||||
const Standard_Boolean /*OneOnly*/)
|
||||
:myTDFAcces(LabAcces), myShape(S),
|
||||
myDone(Standard_False),myIsFeature(Standard_False)
|
||||
|
||||
{
|
||||
Init(Context);
|
||||
}
|
||||
@@ -92,10 +91,9 @@ myDone(Standard_False),myIsFeature(Standard_False)
|
||||
TNaming_Identifier::TNaming_Identifier(const TDF_Label& LabAcces,
|
||||
const TopoDS_Shape& S,
|
||||
const Handle(TNaming_NamedShape)& ContextNS,
|
||||
const Standard_Boolean OneOnly)
|
||||
:myTDFAcces(LabAcces), myShape(S), myOneOnly(OneOnly),
|
||||
const Standard_Boolean /*OneOnly*/)
|
||||
:myTDFAcces(LabAcces), myShape(S),
|
||||
myDone(Standard_False),myIsFeature(Standard_False)
|
||||
|
||||
{
|
||||
const TopoDS_Shape& aContext = TNaming_Tool::GetShape (ContextNS);
|
||||
Init(aContext);
|
||||
|
Reference in New Issue
Block a user