mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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:
@@ -1502,7 +1502,7 @@ Handle(Geom_Surface) Geom_OffsetSurface::Surface() const
|
||||
Result.Nullify();
|
||||
Handle(Standard_Type) TheType = basisSurf->DynamicType();
|
||||
Standard_Boolean IsTrimmed;
|
||||
Standard_Real U1, V1, U2, V2;
|
||||
Standard_Real U1 = 0., V1 = 0., U2 = 0., V2 = 0.;
|
||||
|
||||
// Preambule pour les surface trimmes
|
||||
if (TheType == STANDARD_TYPE(Geom_RectangularTrimmedSurface)) {
|
||||
|
Reference in New Issue
Block a user