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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user