1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024168: Eliminate CLang compiler warning -Wunused-variable

Got rid of warning -Wunused-variable

In FSD_File, use template specialization instead of comparison of sizeof() to specific value in if statement, thus eliminating warning "constant value in conditional expression"
This commit is contained in:
omy
2013-09-11 16:52:16 +04:00
committed by abv
parent 74d80fb976
commit 295cb05393
16 changed files with 68 additions and 67 deletions

View File

@@ -556,7 +556,6 @@ void NIS_View::Select (const NCollection_List<gp_XY> &thePolygon,
const gp_Ax3 anAx3 (anEye, aProj, anXdir);
gp_Trsf aTrf;
aTrf.SetTransformation (anAx3);
const gp_Trsf aTrfInv = aTrf.Inverted();
// Prepare list of 2d points of selection polygon.
NCollection_List<gp_XY> aPoints;