mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4
Got rid from most cases which led to Warning c4706 Tiny code style corrections
This commit is contained in:
@@ -425,12 +425,10 @@ TopAbs_State BRepTopAdaptor_FClass2d::Perform(const gp_Pnt2d& _Puv,
|
||||
|
||||
Handle(BRepAdaptor_HSurface) surf = new BRepAdaptor_HSurface();
|
||||
surf->ChangeSurface().Initialize( Face, Standard_False );
|
||||
Standard_Boolean IsUPer, IsVPer;
|
||||
Standard_Real uperiod=0, vperiod=0;
|
||||
if ((IsUPer = surf->IsUPeriodic()))
|
||||
uperiod = surf->UPeriod();
|
||||
if ((IsVPer = surf->IsVPeriodic()))
|
||||
vperiod = surf->VPeriod();
|
||||
const Standard_Boolean IsUPer = surf->IsUPeriodic();
|
||||
const Standard_Boolean IsVPer = surf->IsVPeriodic();
|
||||
const Standard_Real uperiod = IsUPer ? surf->UPeriod() : 0.0;
|
||||
const Standard_Real vperiod = IsVPer ? surf->VPeriod() : 0.0;
|
||||
TopAbs_State Status = TopAbs_UNKNOWN;
|
||||
Standard_Boolean urecadre = Standard_False, vrecadre = Standard_False;
|
||||
|
||||
@@ -561,12 +559,10 @@ TopAbs_State BRepTopAdaptor_FClass2d::TestOnRestriction(const gp_Pnt2d& _Puv,
|
||||
|
||||
Handle(BRepAdaptor_HSurface) surf = new BRepAdaptor_HSurface();
|
||||
surf->ChangeSurface().Initialize( Face, Standard_False );
|
||||
Standard_Boolean IsUPer, IsVPer;
|
||||
Standard_Real uperiod=0, vperiod=0;
|
||||
if ((IsUPer = surf->IsUPeriodic()))
|
||||
uperiod = surf->UPeriod();
|
||||
if ((IsVPer = surf->IsVPeriodic()))
|
||||
vperiod = surf->VPeriod();
|
||||
const Standard_Boolean IsUPer = surf->IsUPeriodic();
|
||||
const Standard_Boolean IsVPer = surf->IsVPeriodic();
|
||||
const Standard_Real uperiod = IsUPer ? surf->UPeriod() : 0.0;
|
||||
const Standard_Real vperiod = IsVPer ? surf->VPeriod() : 0.0;
|
||||
TopAbs_State Status = TopAbs_UNKNOWN;
|
||||
Standard_Boolean urecadre = Standard_False, vrecadre = Standard_False;
|
||||
|
||||
|
Reference in New Issue
Block a user