0026586: Eliminate compile warnings obtained by building occt with vc14: declaration...
[occt.git] / src / BRepSweep / BRepSweep_Rotation.cxx
index d384f96..a9b98a0 100644 (file)
@@ -518,9 +518,9 @@ void  BRepSweep_Rotation::SetGeneratingPCurve
     L.SetDirection(gp::DY2d());
   }
   else{
-    Standard_Real u = 0;
-    if (aDirV.Index() == 2) u = myAng;
-    L.SetLocation(gp_Pnt2d(u,0));
+    Standard_Real anAngleTemp = 0;
+    if (aDirV.Index() == 2) anAngleTemp = myAng;
+    L.SetLocation(gp_Pnt2d(anAngleTemp,0));
     L.SetDirection(gp::DY2d());
   }
   Handle(Geom2d_Line) GL = new Geom2d_Line(L);