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

0031671: Coding Rules - eliminate warnings issued by clang 11

Fixed -Wdeprecated-copy warning by removing trivial operator=.
Fixed formatting issues in places producing -Wmisleading-indentation warning.
This commit is contained in:
kgv
2020-07-17 15:12:49 +03:00
committed by bugmaster
parent 7465bfa65e
commit 99ee8f1a83
11 changed files with 221 additions and 253 deletions

View File

@@ -128,8 +128,12 @@ Standard_Boolean ShapeAnalysis_Geom::NearestPlane(const TColgp_Array1OfPnt& Pnts
gp_GTrsf gtrsf;
for (Standard_Integer i = 1; i <= 3; i ++)
{
for (Standard_Integer j = 1; j <= 4; j ++)
{
gtrsf.SetValue (i,j, coefs->Value(i,j));
}
}
//try { //szv#4:S4163:12Mar99 waste try
//// trsf = gtrsf.Trsf();