1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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

@@ -65,7 +65,7 @@ Standard_Boolean StepToGeom_MakeTrimmedCurve2d::Convert (const Handle(StepGeom_T
const Handle(StepGeom_HArray1OfTrimmingSelect)& theTrimSel2 = SC->Trim2();
const Standard_Integer nbSel1 = SC->NbTrim1();
const Standard_Integer nbSel2 = SC->NbTrim2();
if ((nbSel1 == nbSel2 == 1) &&
if ((nbSel1 == 1) && (nbSel2 == 1) &&
(theTrimSel1->Value(1).CaseMember() > 0) &&
(theTrimSel2->Value(1).CaseMember() > 0))
{