mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0022693: Elimination Compiler warnings
This commit is contained in:
parent
22a157d5ba
commit
446b69badc
@ -241,10 +241,10 @@ const TopTools_IndexedDataMapOfShapeListOfShape& TNaming_Localizer::Ancestors
|
||||
#else
|
||||
TopAbs_ShapeEnum TA=TopAbs_COMPOUND;
|
||||
#endif
|
||||
if (TS == TopAbs_EDGE) TA = TopAbs_FACE;
|
||||
if (TS == TopAbs_VERTEX) TA = TopAbs_EDGE;
|
||||
if (TS == TopAbs_FACE) TA = TopAbs_SOLID;// 25.09.2009 - szy
|
||||
if (TS == TopAbs_EDGE || TS == TopAbs_VERTEX || TS == TopAbs_FACE && TA >= In.ShapeType()) {
|
||||
if (TS == TopAbs_VERTEX) TA = TopAbs_EDGE;
|
||||
else if (TS == TopAbs_EDGE) TA = TopAbs_FACE;
|
||||
else if (TS == TopAbs_FACE) TA = TopAbs_SOLID;
|
||||
if ((TS == TopAbs_EDGE || TS == TopAbs_VERTEX || TS == TopAbs_FACE) && TA >= In.ShapeType()) {
|
||||
TopExp::MapShapesAndAncestors(In, TS, TA, myAncestors.First());
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user