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

0024274: Eliminate GCC compiler warning (wrong initialize order)

Eliminated GCC compiler warning about wrong initialize order
This commit is contained in:
ski
2013-10-21 12:04:56 +04:00
committed by bugmaster
parent 84f4830127
commit 2f6cb3ac69
13 changed files with 37 additions and 33 deletions

View File

@@ -224,8 +224,8 @@ void CorrectWires(const TopoDS_Face& aFx)
TopoDS_Vertex aV11, aV12, aV21, aV22;
TopExp::Vertices(aE, aV11, aV12);
TopExp::Vertices(aE1, aV21, aV22);
if (aV11.IsSame(aV21) && aV12.IsSame(aV22) ||
aV12.IsSame(aV21) && aV11.IsSame(aV22)) {
if ((aV11.IsSame(aV21) && aV12.IsSame(aV22)) ||
(aV12.IsSame(aV21) && aV11.IsSame(aV22))) {
continue;
}
}