mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -716,7 +716,7 @@ void CheckEdge (const TopoDS_Edge& Ed, const Standard_Real aMaxTol)
|
||||
TopoDS_Iterator aItF, aItW, aItE;
|
||||
BRep_Builder aBB;
|
||||
//
|
||||
aTolF = BRep_Tool::Tolerance(aF);
|
||||
aTolE = aTolF = BRep_Tool::Tolerance(aF);
|
||||
aItF.Initialize(aF);
|
||||
for (; aItF.More(); aItF.Next()) {
|
||||
const TopoDS_Shape& aS = aItF.Value();
|
||||
|
Reference in New Issue
Block a user