From 10c5aa00b03ee01fa5f1ab0278b2d4f5b0668d27 Mon Sep 17 00:00:00 2001 From: apn Date: Thu, 3 Nov 2016 14:20:04 +0300 Subject: [PATCH] Fixed compilation warnings on vc14 caused by CR27431_5 --- src/IntPatch/IntPatch_ALineToWLine.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/IntPatch/IntPatch_ALineToWLine.cxx b/src/IntPatch/IntPatch_ALineToWLine.cxx index 0f9826cb5f..9c7cd0e840 100644 --- a/src/IntPatch/IntPatch_ALineToWLine.cxx +++ b/src/IntPatch/IntPatch_ALineToWLine.cxx @@ -487,11 +487,11 @@ void IntPatch_ALineToWLine::MakeWLine(const Handle(IntPatch_ALine)& theALine, if(aP1.SquareDistance(aP2) < aSqTol) { - IntPatch_Point aVtx = theALine->Vertex(i); - aVtx.SetValue(aVertP2S); - aVtx.SetTolerance(aVertToler); - aVtx.SetParameter(aNewVertexParam); - aSeqVertex(++aNewVertID) = aVtx; + IntPatch_Point aLVtx = theALine->Vertex(i); + aLVtx.SetValue(aVertP2S); + aLVtx.SetTolerance(aVertToler); + aLVtx.SetParameter(aNewVertexParam); + aSeqVertex(++aNewVertID) = aLVtx; hasVertexBeenChecked(i) = Standard_True; isFound = Standard_True; }