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:
@@ -467,7 +467,7 @@ static
|
||||
void BOPAlgo_BOP::BuildRC()
|
||||
{
|
||||
Standard_Boolean bFlag;
|
||||
Standard_Integer i, aDmin, aNb[2], iX, iY;
|
||||
Standard_Integer i, aDmin, aNb[2], iX = 0, iY = 0;
|
||||
TopAbs_ShapeEnum aTmin;
|
||||
TopoDS_Compound aC, aCS[2];
|
||||
BRep_Builder aBB;
|
||||
|
@@ -478,7 +478,7 @@ void BOPAlgo_PaveFiller::PerformFF()
|
||||
}
|
||||
//
|
||||
Standard_Boolean bHasPaveBlocks, bOld;
|
||||
Standard_Integer iErr, nSx, nVSD, iX, iP, iC, j, nV, iV, iE, k;
|
||||
Standard_Integer iErr, nSx, nVSD, iX, iP, iC, j, nV, iV = 0, iE, k;
|
||||
Standard_Integer jx;
|
||||
Standard_Real aT;
|
||||
Standard_Integer aNbLPBx;
|
||||
|
Reference in New Issue
Block a user