1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024588: Fix some ICC warning fixes

Some of ICC warning fixes reported in 0024574 are fixed
Remove redundant ifdef
This commit is contained in:
abv
2014-02-06 10:57:56 +04:00
committed by apn
parent 124021462e
commit f1a5afa25c
8 changed files with 7 additions and 49 deletions

View File

@@ -1600,11 +1600,6 @@ void V3d_View::WindowFit(const Standard_Integer Xmin, const Standard_Integer Ymi
gp_Pnt aPanFrom = myCamera->ConvertProj2View (aScreenCenter);
gp_Vec aPanVec (aPanFrom, aPanTo);
gp_Pnt a1 (aUMin, aVMin, 0.0);
gp_Pnt a2 (aUMax, aVMax, 0.0);
gp_Pnt ap1 = myCamera->ConvertProj2View (a1);
gp_Pnt ap2 = myCamera->ConvertProj2View (a2);
// compute section size
gp_Pnt aFitTopRight (aUMax, aVMax, aDepth);
gp_Pnt aFitBotLeft (aUMin, aVMin, aDepth);