mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025734: GCC warnings in Android build
Warnings were fixed. Fixed wrong re-initialization.
This commit is contained in:
@@ -538,8 +538,8 @@ void GeomFill_BSplineCurves::Init
|
||||
IsOK = Standard_True;
|
||||
}
|
||||
|
||||
Standard_ConstructionError_Raise_if
|
||||
(!IsOK, " GeomFill_BSplineCurves: Courbes non jointives");
|
||||
if(!IsOK)
|
||||
Standard_OutOfRange::Raise("GeomFill_BSplineCurves: Courbes non jointives");
|
||||
|
||||
Standard_Integer NbUPoles = CC1->NbPoles();
|
||||
Standard_Integer NbVPoles = CC2->NbPoles();
|
||||
|
@@ -438,9 +438,9 @@ void GeomFill_BezierCurves::Init(const Handle(Geom_BezierCurve)& C1,
|
||||
CC2->Reverse();
|
||||
IsOK = Standard_True;
|
||||
}
|
||||
|
||||
Standard_ConstructionError_Raise_if
|
||||
(!IsOK, " GeomFill_BezierCurves: Courbes non jointives");
|
||||
|
||||
if(!IsOK)
|
||||
Standard_OutOfRange::Raise("GeomFill_BezierCurves: Courbes non jointives");
|
||||
|
||||
CC1->Poles(P1);
|
||||
CC2->Poles(P2);
|
||||
|
Reference in New Issue
Block a user