mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -810,9 +810,9 @@ static void GenerateSubSeq (const TopTools_SequenceOfShape& anInpEdgeSeq,
|
||||
isOk = IsMergingPossible(edge1, edge2, Tol, DegEdgeVrt);
|
||||
if (!isOk)
|
||||
{
|
||||
SubSequenceOfEdges SubSeq;
|
||||
SubSeq.SeqsEdges.Append(edge2);
|
||||
SeqOfSubSeqOfEdges.Append(SubSeq);
|
||||
SubSequenceOfEdges aSubSeq;
|
||||
aSubSeq.SeqsEdges.Append(edge2);
|
||||
SeqOfSubSeqOfEdges.Append(aSubSeq);
|
||||
}
|
||||
else
|
||||
SeqOfSubSeqOfEdges.ChangeLast().SeqsEdges.Append(edge2);
|
||||
|
Reference in New Issue
Block a user