1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -855,7 +855,7 @@ void IntTools_EdgeFace::CheckData()
Standard_Integer IntTools_EdgeFace::MakeType(IntTools_CommonPrt& aCommonPrt)
{
Standard_Real af1, al1;
Standard_Real dt, df1, df2, tm;
Standard_Real df1, tm;
Standard_Boolean bAllNullFlag;
//
bAllNullFlag=aCommonPrt.AllNullFlag();
@@ -900,7 +900,7 @@ void IntTools_EdgeFace::CheckData()
}
return 0;
}
//
/*
dt=al1-af1;
if (dt<1.e-5) {
@@ -940,8 +940,8 @@ void IntTools_EdgeFace::CheckData()
aCommonPrt.SetType(TopAbs_EDGE);
}
}
*/
// return 0;
return 0;*/
}