mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4
Removing pPotentially uninitialized local variable Got rid of most of warnings C4701: Potentially uninitialized local variable Removed redundant variable definitions. Refactored a part of AppParCurves_ResolConstraint CTOR. Replaced 0. to Precision::Confusion for tolerance vars; Changed values for min and max parameter vars; Got rid of redundant variables' initialization.
This commit is contained in:
@@ -1008,8 +1008,8 @@ void Draft_Modification::Perform ()
|
||||
theSurf = S2;
|
||||
}
|
||||
if(detrompeur != 0 && detrompeur != 4) {
|
||||
Standard_Real ul, vl, uf, vf;
|
||||
Standard_Real ufprim, ulprim, vfprim, vlprim;
|
||||
Standard_Real ul = 0., vl = 0., uf = 0., vf = 0.;
|
||||
Standard_Real ufprim = 0., ulprim = 0., vfprim = 0., vlprim = 0.;
|
||||
|
||||
if(theSurf->DynamicType() == STANDARD_TYPE(Geom_Plane)) {
|
||||
gp_Pln pl = Handle(Geom_Plane)::DownCast(S2)->Pln();
|
||||
|
Reference in New Issue
Block a user