mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration
Eliminated warnings about "declaration of some local variable hides previous local declaration"
This commit is contained in:
@@ -329,7 +329,7 @@ void BRepFill_TrimShellCorner::Perform()
|
||||
//
|
||||
BOPDS_VectorOfPoint& aVP=aFFi.ChangePoints();
|
||||
aNbP=aVP.Extent();
|
||||
BOPDS_VectorOfCurve& aVC=aFFi.ChangeCurves();
|
||||
const BOPDS_VectorOfCurve& aVC=aFFi.Curves();
|
||||
aNbC=aVC.Extent();
|
||||
if (!aNbP && !aNbC) {
|
||||
if (!theDS->HasInterfSubShapes(nF1, nF2)) {
|
||||
@@ -338,7 +338,6 @@ void BRepFill_TrimShellCorner::Perform()
|
||||
}
|
||||
//
|
||||
if((nF1 == anIndex1) && (nF2 == anIndex2)) {
|
||||
const BOPDS_VectorOfCurve& aVC = aFFi.Curves();
|
||||
bhassec = Standard_False;
|
||||
//
|
||||
for (j = 0; j < aNbC; ++j) {
|
||||
|
Reference in New Issue
Block a user