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

@@ -80,7 +80,7 @@ void StdSelect_BRepSelectionTool
if( isAutoTriangulation && !BRepTools::Triangulation (theShape, Precision::Infinite()) )
{
BRepMesh_IncrementalMesh(theShape, theDeflection, Standard_False, theDeviationAngle);
BRepMesh_IncrementalMesh aMesher(theShape, theDeflection, Standard_False, theDeviationAngle);
}
Handle(StdSelect_BRepOwner) aBrepOwner;