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

0024170: Eliminate CLang compiler warning -Wunused local functions

Removed unreferenced local functions -Wunused
Removed self assignment
Merged IntStart_SearchOnBoundaries*.gxx files into one file.
This commit is contained in:
omy
2013-09-17 10:03:19 +04:00
committed by abv
parent b6abaec0c8
commit 74d80fb976
12 changed files with 1025 additions and 1192 deletions

View File

@@ -466,28 +466,6 @@ Handle(TDF_Attribute) TNaming_NamedShape::NewEmpty () const
return new TNaming_NamedShape();
}
//=======================================================================
//function : static GetLocation 23.06.99 (szy)
//purpose : service: returns copy of Location if exist Relocation
//=======================================================================
static TopLoc_Location GetLocation(const TopLoc_Location& L,
const Handle(TDF_RelocationTable)& RT)
{
TopLoc_Location result;
if (!L.IsIdentity()) {
Handle(TopLoc_Datum3D) TD;
if(!RT->HasTransientRelocation(L.FirstDatum(), TD))
#ifdef DEB
cout <<"TNaming_Named_Shape::Paste : Relocation for TopLocation don't exist" << endl;
#endif
result = GetLocation(L.NextLocation(), RT) *
TopLoc_Location(TD).Powered(L.FirstPower());
}
return result;
}
//=======================================================================
//function : Paste
//purpose :