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

0024209: Cppcheck errors "unusedScopedObject"

Fixed bug with temporary objects.
This commit is contained in:
omy
2013-12-24 10:13:13 +04:00
committed by bugmaster
parent 96a95605cd
commit b3a7aa39a1
6 changed files with 10 additions and 10 deletions

View File

@@ -1230,7 +1230,7 @@ static Standard_Integer wavefront(Draw_Interpretor&, Standard_Integer nbarg, con
Standard_Real aDeflection =
MAX3( aXmax-aXmin , aYmax-aYmin , aZmax-aZmin) * 0.004;
BRepMesh_IncrementalMesh(S, aDeflection);
BRepMesh_IncrementalMesh aMesh (S, aDeflection);
TopLoc_Location L;