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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user